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
Does standalone count as a backend?