Make NormalParser::resetImpl protected

so that it can be called from subclasses.
Fix Repeat::reset
Fix RawStringParser::reset
Merge pull request #42 from magicant/fix/parser-reset

Fix reset implementation of some parser classes