extract generic BaseParsers from MarkupParsers trait
add tests for repMax parser
add parser for dynamic repetitions where the next parser depends on the
result of the previous