Easy paging through SQLAlchemy query object, ported from troygoode's PagedList for Asp.Net MVC