Enhancements and fixes for Regexp#split.

This commit has two fixes for Regexp#split:

* When the split expression contains captures, include the captures in the
  output.
* Behave sanely when the split expression matches a zero length string.

It also marks one symbol static that appears to be unintentionally exported.