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 nice to include a comment with what is expected in params and what effect the different values would have.