fix LOCATE expression on SQL Anywhere
fix LOCATE expression offset evaluation on SQLite
add functional tests for LOCATE expressions
fix CS
add functional tests for TRIM expression
Improved performance of BlobType & BinaryType