Added mock new version to the development branch
Refactor to remove error code duplication
added some documentation of different methods for use with godoc
added bucket operations mock
added missing get path to bucket operations mock
added different way of handling not normal error codes
Major rewrite. JSON encoding still patchy