ENH: use paginator for next and previous objects

next_submission(), previous_submission()
next_revision(), previous_revision()

Improve code using django.core.paginator
Merge pull request #141 from ksurya/improve

Use django paginator for finding next & previous objects