misc bug fixes

This pull request fixes the following issues:
- values set from spy.properties were being lost when the environment and system property overrides were processed
- if filtering was not set to true all categories got logged
- P6LogQuery not initialized correctly on startup