Fix substr (and substring) to support vector start (first) and stop (end) arguments.
minor style fix
Add tests for substr() with vector arguments.
Merge pull request #74 from hlin09/hlin09

Fix substr() (and substring()) to support vector start (first) and stop (last) arguments.