Rebar3 support and code sharing

Eh, easier not to. `rlx_topo` sorts apps, and while some of the logic used is the same, I think nicer to just keep these two separate.