In neutron core we want to deprecate
neutron.db.sqlalchemyutils.paginate_query()
in favor of
oslo_db.sqlalchemy.utils.paginate_query()
However, the oslo.db method takes different arguments. So we provide
helpers for converting the arguments to the oslo.db format.
Change-Id: I6de2945c7ed2ab48c285824a62ee0da61b030589