Merged MID into SUBSTRING, unified testing of SUBSTR, MID and SUBSTRING
merge SytzeH: Merged MID into SUBSTRING, unified testing of SUBSTR, MID and SUBSTRING

Merge pull request #1260 from SytzeH/sql-layer/mid2
https://github.com/FoundationDB/sql-layer/pull/1260