fix bug with parser throwing a NoSuchElementException when parsing an empty string because no valid json tokens were processed. Now checks for this and fails with a JsonParseException.
fix bug with parser throwing a NoSuchElementException when parsing an empty string because no valid json tokens were processed. Now checks for this and fails with a JsonParseException.

Improve handling some edge cases during parsing.

jillesvangurp/jsonj,jillesvangurp/jsonj