Forced QueryMethod calls to server to always use text/plain to fix issue where Firefox attempts to parse content as HTML if no Content-Type header is sent.
Moved logging initialization to happen regardless of whether log4j.properties is found.