Remove trailing slash, redirect profile page to app_host if on content_host

Fixes #38 and #40 :shipit:

I said "space" in the commit, I meant "slash." (Trailing slashes are already fixed)