[GEOT-4488] Properly encode Not filters

A bug in FilterParsingUtils leads to xsd-filter producing \<ogc:Filter/\> when you try to encode a filter with Not at the top level. This just adds a check for it when the property extractor goes looking for properties and adds an addition check to a couple of unit tests.