Merge pull request #235 from gregoryduckworth/collapse

Fix for collapse boxes within ajax loaded content
Mass Indentation, syntax and formatting fix

This is the PHP part for #75.
There is also a major fail in the models fixed that was a simple
copy paste and 'used' unused Interfaces
Added basic queue-manager permission to allow/disalow viewing of the queue. Also fixed a bug that stopped an admin being able to remove a role from a group.
Merge pull request #237 from t3rminalVel0city/queue-permission

New permission & Group bug-fix
Naming convention fixes
Complete #75 by indenting the templates

A few smaller bugs were also found mostly in lost tags and
stuff and were fixed too.
Shuffle the auth.superuser filter to a Route group
Fix the sidebar expansion when working in the configuration
fixed some missing collapse box ids