Always update the url bar

Update the url on every change to the tree. This way you can just share the url immediately instead of having to open 'Options' and click 'Link'. I found this more convenient when collaborating as well as saving trees for later use.
I had to switch to using location.hash instead of location.search so that the browser doesn't reload.

Cheers,
- Another Miles S.