Make template work at /

If $data['noGeneralCss'] exists, there will be no general.css
Removed #wrapper div as it was causing trouble at notLoggedIn
Added register, Controller->requireUser()

Also changed the way controller->handleException() works
Controller->requireUser() redirects if the user is logged in where he
shouldn't and vice versa