[FLINK-1168] Added support for multi-char delimiters.
This commit includes parts of Cbro's pull request and subsumes PR #247

This closes #247