Fix off-by-one error in paginator
Fix tests
Add celery to make tasks asynchronous