Allow repeating fields in codec bnf

1 commit instead of 25 ;)

The tests for repeating fields aren't yet fully implemented.