Pull out conf loading to a util function

Sometimes it is useful to give a class a non topolgy related
main method that can be used for admin/batch functionality.

These cases will want to use the same config as a topology, so
make loading it general.
Merge pull request #39 from acinader/conf-loader-util-function

Pull out conf loading to a util function