Quote type attribute string in filter element in Query.java

XML attributes should be quoted, so 
    \<filter type=subtree\>...\</filter\> 
should really be
    \<filter type="subtree"\>...\</filter\> 

A lot of XML parsers won't choke on this, but at the default settings for the lxml python library does choke on it.