Reorganize token fields

Introduce "token_mode" to specify clearly and human-understandably the
type of token settings that should be used. Also rename other fields to
group the generation-related ones and to name the limitations-related
ones similarly to their equivalents for submissions and user_tests.
Don't limit infinite tokens

That is, avoid min_interval from holding in this case.