shawnhall's many improvements

* Add support for Hiera
* Make XML stuff conditional
* Make setting up domain conditional
* Add rake validate and rake lint tasks