Fix our LocalSite permission wrapper on Django 1.6.

The LocalSite permission wrapper broke on Django 1.6, due to
PermLookupDict renaming module_name to app_label.

This updates our calls to use the new name. It also adds unit tests to
ensure we catch any breakages in the future.