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
It'd be easier to read without the if I suspect.