Only load html entities dictionary once and then cache it
Fix incorrect error checking when loading entities dictionary
Check for nil data before attempting to parse entities dictionary
Merge pull request #1 from rustle/master

Caching and fixes