Reworked rootURL in ember.js and allow handling of back/forward buttons in browser