Django 1.6/1.8 replaced methods

Django 1.6 replaced ``Options.get_(add|change|delete)_permission`` with ``auth.get_permission_codename`` and renamed ``get_query_set`` to ``get_queryset``; the compatibility layers for these changes will be removed in 1.8.

Both fixes should be 1.5 compatible.