Code optimization and comments. Applies to #11
Reworks towards Django messages-framework. Fixes to permission-groups setup. Applies to #11
Permission fixes. Applies to #11