added enum to BatSubstring to for consistency with BatString.
tests for BatSubstring.enum
Merge pull request #337 from rgrinberg/master

BatSubstring.enum