Caching improvements

Added caching to tokenize

Changed bitmap caching to use hash - this is required when getBitmap is used with documents (otherwise you get invalid filenames).

Changed name of bitmapToTermsRaw caching to be consistent with API call.
```
with open(cachePath) as cacheFile:
  response = json.load(cacheFile)
```