NEW Add history pushState support and loading of deep pages.