Fixed automate namespace tests

* A new class is added call Domain which represents the new Domain level in the Tree.
* At the moment domain is an arg to make_path which allows you to have the same ability to create namespaces from paths that you did before.
* Question is whether we want to make the domain "Default" a real "DEFAULT" in that we will always put that on the appliance. Open to suggestions on that.
* Extra trickery is needed to sort the button labels, as the path length is no longer 1, but 2 because of the introduction of the domain.