Add cachePath option

This will reused cached JSON files based on the SHA-1 of the CSON
file.
Show Travis status of master branch
Use SVG Travis badge
Email on Travis failures
Assert that the cache directory is not empty