ObjectCache: less verbose code, more docs, added basic ObjectCacheTest
added LimitedInputStream with test
code style settings for IntelliJ