fix LOCATE expression on SQL Anywhere
fix LOCATE expression offset evaluation on SQLite
add functional tests for LOCATE expressions
fix CS
fix TRIM expression
add functional tests for TRIM expression
Merge pull request #562 from deeky666/fix-sqlanywhere-trim-expression

Fix TRIM expression
Merge pull request #559 from deeky666/fix-sqlanywhere-locate-expression

Fix LOCATE expression on SQL Anywhere and SQLite