Ports middleware to Django, and adds repo sync view
Merge pull request #1430 from bmbouter/port-middleware-to-django

Ports middleware to Django, and adds repo sync view
Merge branch 'introducing-django' of https://github.com/pulp/pulp into manrebase-django
add auth_required