Move validation and normalization phase

- Separate validation and normalization into their own phase.
- Call CDTQQueryValidator normaliseQuery for all test which by pass the
normalization phase
- Handle wild cards in normalization, don't validate a wildcard.