Document statistic cache

https://bugzilla.redhat.com/show_bug.cgi?id=1130797
ehCache implementation for HDocument/Locale cache
I can't tell if anything really changed in this file because of all the incorrectly changed formatting.