Rewriting LRUCache#onUsed to fix issue #1, and writing some unit tests for it.