Document statistic cache

https://bugzilla.redhat.com/show_bug.cgi?id=1130797
ehCache implementation for HDocument/Locale cache
textFlowTargetId is more meaningful.