ENH: add clickjacking middleware
ENH: use paginator for next and previous objects

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

Improve code using django.core.paginator