Refactor to expose internals of wrapping get.
Keep namespace separate from options object.
Serialize objects into JSON when encoding and parse when decoding.
Unit tests around cachingGet and lower level functionality.
Merge pull request #10 from mapbox/cachingGet

cachingGet