Add permissions to the models of the objects they grant permissions for.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Rename variables and functions to actually match standards.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Use str.format in place of str.replace for the permission properties.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge pull request #275 from Acidity/feature/modelPerms

Add permissions to the models of the objects they grant permissions for.