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.
Code review changes
Merge pull request #15 from subutai/caching_changes

Caching improvements