Django 1.5 compatibility, as well as a performance setting

Includes support for customizable User models
Performance setting will disable expensive permission checks if those are not needed.