Fix OSQA-819: Link to profile in message is wrong if OSQA is installed in a subfolder

Fixes http://jira.osqa.net/browse/OSQA-819
Merge branch 'subfolder_fixes'

Conflicts:
	forum/actions/user.py