Changes to use version 2 of go-json-rest

Hi Ask,

I've merged to master the v2 of go-json-rest, which contains a few breaking changes.
This PR is to make your code work with this new version.
I sorry I had to break master, I wish Go had better tools to handle versioning.

Also I was not able to run the test:
... obtained string = "dial tcp 127.0.0.2:8053: connection refused"

Antoine