.exam parser: underscores and ticks allowed in key names
mod(a,b) always returns a positive number

fixes #257