More UI (bug) fixes from splitting server.js into core + components.

* There were a few broken links on parsoid-tests.wikimedia.org
  which are now fixed with this patch.

Change-Id: I111f4efcc2c03888c90b65768b13870a691eb3d4
Merge "More UI (bug) fixes from splitting server.js into core + components."