Update LRUCache.hpp

* added a synchronization template param (default: no synchronization)
* added a tryGet() function that returns false for not found and uses an in/out reference for value out
* updated indentation/style
* changed print visitor dump debug to iterative one