JSON.parse in applyState if the state is a string (as it is for the init.ial request load if not using fragment urls)

This fixes a long-standing bug on our install where non-fragment-url-loaded requests were getting a JavaScript error.
What version of graphite-web are you running? 0.9.12 has this bug but It looks like it was already fixed in both master and 0.9.x branches:

https://github.com/graphite-project/graphite-web/blob/master/webapp/graphite/templates/dashboard.html#L27

https://github.com/graphite-project/graphite-web/blob/0.9.x/webapp/graphite/templates/dashboard.html#L26

To compare with 0.9.12:

https://github.com/graphite-project/graphite-web/blob/0.9.12/webapp/graphite/templates/dashboard.html#L26