Generalize VisualAttributesMarshaller to all enums
Some additions to .gitignore
BusinessExceptionResolver: top exceptions first

BusinessExceptionResolver used to traverse the registered exception
types and, for each type, it would traverse the exception chain. It
would stop on the first match, so if two exceptions in the exception
chain could be handled by BusinessExceptionResolver, what would
determine which exception would be chosen would the order of the
exception class in the list of handled exception types.

Changed so that if two exceptions can be matched by the resolved, the
one that will be chosen will be the one one top, not one of its causes,
even if one of the causes is listed first in the handled exception types
registry.
Add test to QueriesResourceServiceTests
Small fix in QueryDefinitionXmlServiceTests

The XML literals had an extra line break in the uris that defined the
schema.
Add QueryResultMarshaller

It also includes an auxiliary abstract class to easily build marshallers
that should just output a subset of properties of some object that
corresponds to the set of properties defined in an interface that object
implements.
Unit test for QueryResultMarshaller
Add QueryToolController

The QueryController deals with QueryDefinitions in XML instead of JSON
as could be expected. The reason is that in the i2b2 data model, the
query definition is stored as XML in the database. To avoid adding more
conversion routines, this time for JSON (we now have conversion routines
to and from XML), we just communicate with XML as well.