Use history API to store page state

Store the current data (+ schemas and URI) in the HTML history state.

Hopefully, this should make forms work better.
Route all logging to console

When submitting a form, it was popping up an error due to a bug in Jsonary.
Don't save state to history unless needed
Ignore stored state on refresh

When refreshing, ignoreState returns to true.  At that point, we don't want to use the stored state - we'd rather make a fresh GET.
Merge pull request #5 from geraintluff/master

Support for forms