Correct handling of env variable substitution into standalone.xml

https://bugzilla.redhat.com/show_bug.cgi?id=1080024
Merge pull request #3 from bparees/env_cleanup

Correct handling of env variable substitution into standalone.xml