fixed wrong return value for queries that only return TRUE/FALSE
Xml format now has a default root tag name "data"
some refacture in REST plugin to allow return of xml data again
fixed failing tests for Rest