Tidy up Resource::Manager (RIPD-362):
* Style improvements
* More documentation
Remove calls to SHAMapNode::getID (RIPD-347):
Calls in SHAMap::getCache and SHAMap::canonicalize are
purposefully left in place at this time (to be removed
later).