Validate GROUP and WHERE

* Moved parsing validating logic into validate
* WHERE could be better validated by looking to see if each column exists
Add validations for limit and offset