URL history API endpoint, and example client script.  Closes #5, closes #29