Merge pull request #349 from sexnothing/user

Perm config in system module
Bugfix for application/json detection
Merge branch 'user' of https://github.com/pi-engine/pi into user
Typo fix for comment post operation
Perm config in system module