Fix string exception in near of ParserUtil

- Java String's 2nd and 3rd actor parameter are offset/length instead of  begin/end

Signed-off-by: Wang Xu <gnawux@gmail.com>
Merge pull request #109 from gnawux/master

Fix string exception in near method of ParserUtil