Many modifications, see bugzilla for more informations. Moved the CSS call to allow override with intranetusercss.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>