Fixing notifications on ugly debug page

- also fixes an issue where the debug tools didn't redirect properly when Ghost was operating in a subdirectory.