Abstract out exposed put method.
JSON stringify grid data.
Fix for Buffer conversion of JSON string.
Emit open event upon completion.
Merge pull request #11 from mapbox/generic-put

Generic put