support for preferences tags

This adds support for variable preferences so that they are properly
injected into the config.xml
Merge branch 'master' into jbosstools-4.1.1.x