Made some qunit tests synchronous
and also for test_UserPrefs.arrangePage
Merge branch '1104_qunit_failures' into 1095_logged_out_monitor