Add option for enabling SQL queries without semicolon

Expecting always a semicolon at the end of queries helps a lot with
distinguish between real SQL and something that looks a lot like it.
Add and adjust tests
Merge branch 'make-semicolon-non-optional'