Separate out the common logic for document search caching from the individual caching masters.
Reorganise imports, minor HashMap change
Adjust position and security caching masters to use the common logic for search caching in DocumentSearchCache.
Add caching position master to web UI (caching security master already enabled)
Solve search cache naming issue, add constructor javadoc, decrease visibility of some properties
Update inline TODOs