Add support for the repetition limitation of the keyword parser
Add first occurence constraint tests, and add the occurence constraints
to the keyword parsing loop
Added more tests and corrected the repeat count limits