Add unit tests for StringReader. You can run them with `./kraken --test`.
Add tests for parsing quoted strings.
Replace some code in StringReader::getTokens() with std::string::find_first_of(). Since this makes found_pos unsigned, a few comparisons involving found_pos must be adjusted (unsigned integers are always >= 0).
Remove one unnecessary backslash-check in StringReader::getTokens(). (This patch looks like it's removing the last backslash-counting loop, but really it removes the first one and then reindents everything.)
Use std::string::substr() instead of adding one character at a time. This patch also removes a few unused util functions that are easily written using substr().
Merge pull request #1 from jorendorff/master

Merge jorendoff's very kind cleanup (and tests!) of StringReader code