Added support for html5 History, if browser supports it.

@note in when users hit a non-hased url, such as '/guide' the server redirects them to '/#/guide' - if their browser supports html5 then the url is changed to '/guide' by angular. This is not ideal.