Making regular expressions on string splits always use a global flag.  Fixes #109.
Adds explicit test for tessel/runtime#109.
Removes redundant code.
Merge pull request #115 from tessel/split-problems

Fixes split problems (#109) based on kevinswiber's PR (#110)