Move XF.start from xf.core.js to app/start.js, add test for new module and make related changes.