Add CONTAINS functions, fix 1 off bug in BASE64_DECODE
Correct substring matching semantics like for DB2 and MSS