update history.js and remove decodeURIComponent in listview and gridview

fixes #2519

You can test it using https://github.com/nkovacs/yii-history-test

I used https://github.com/browserstate/history.js/blob/a6e2554cd5e10bd07f162bb876b0bbf48514b900/scripts/bundled/html5/jquery.history.js