Quick frontend refactor

Refactor the CSS into more granular, context specific files. 
Fix the Transfer linker not initialising when in a toolbar.
Refactor the before_filters used for access control.
Patch #540.