Code cleanup and performance optimizations: fixed broken ResourceAccess cache (was never enabled), added
try-with-resources in SearchCommand to avoid leaking IndexHits, unified doGet and doHead methods in
JsonRestServlet to avoid issues with diverging code later.