collapse box fix #171
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