Redirect authors and editors away from debug page

A signed in user with role author or editor will be redirected back to
/ghost.

closes #3292
Our style is `var self = this` rather than `that = this`