Add hash_train/hash_untrain

- [x] Allow training NB with a hash of words that already indexes to its frequency in the document
- [x] Apply cache total word counts per category