Card origin_node_374 - Port Watchman to Origin

* tests for CachedConfig