This Fixes #1037 : Loading version by tag for mini and view html

Fixing view/mini.html show &tag= instead of &version= when there's a tag

1> Created update_url function which uses html5 history api in view.js to update url
2> Created update_url function which uses html5 history api in mini.js to update url
3> update_url gets called only if tag exists for a version loaded in url
Screenshot attached after testing view.html and mini.html respectively:
![view](https://cloud.githubusercontent.com/assets/6388509/5488669/2123c33a-86e7-11e4-8f27-550a0dded4e0.gif)
![mini](https://cloud.githubusercontent.com/assets/6388509/5488671/26d1e1a4-86e7-11e4-8efa-fbf537624a1d.gif)