fixed error message and associated tests
added new exception/error code, fixed tests
slight change to msg
forgot to add the exception class
merge hchandl: Improve error wording for not having aggregate function when using group by

Merge pull request #1358 from hchandl/sql-layer/errorMessageFix
https://github.com/FoundationDB/sql-layer/pull/1358