Story 1921: Push user profile to stable

* Ensure red links are not enabled on pages outside #content element
so that the link to the user page on the user profile works when it
doesn't exist.
* Basic tests to show expected behaviour

Change-Id: Ib7aeeea15a8d2807a5ca3e35056fb115b7fe7926