* determine the actual UI root URL and use it for links so the site can be located at a non-/ location
* need to mock ui_root explicitly for test scenario
Merge pull request #916 from cgolubi1/519_webroot

JS determines UI root from location
Resolving conflicts
Merge branch '604_history_page' into 498_forum