Added support for XML configuration

Also supports . as an alternative to & for AND operations, and + for OR.
(Justified by electronics boolean algebra, which uses . for AND and +
for OR). This provides an alternative to typing &amp; into XML
configurations.