Separated Validation and normalisation into single step

- Created new class CDTQQueryValidator
- Moved Normlisation functions into CDTQQueryValidator
- Moved validation functions into CDTQQueryValidator
- Validate entire query in one step after normalisation but before
returning normalised query

I'm not sure about calling CDTQQueryValidator CDTQQueryValidator, any ideas on a better name?

Apologies for large whitespace commits file to focus on CDTQQueryValidator.m