Add new tests for window definitions in ptf_general_queries.q
Add error messages for handling window definitions and fix old error messages in negative tests
Add new negative tests for window definitions