better error handling of poorly formatted request
Merge pull request #26 from mapbox/error-handling

Better error handling of poorly formatted request