Topology refactor / Standalone mode

* Centralizes as much of the topology logic as possible into the `TopoHelper` class (in `ec-common/libraries/topo_helper.rb`)
* Enables standalone topology (actually works)
* Support Analytics node in a much less hacky way
Can that be configurable/a constant?