Add std::make_unique
Refactor KeyCache
Use abstract_clock
Tidy up for C++11, and fixes:
* Remove shared_ptr legacy support
* Add make_unique support for pre-C++14 environments
* Fix comparison bug in sqdb
* Use std::shared_ptr in a few places
[WIP] Tidy up NodeStore for C++11