Require models to define an 'api_version' key

The allowed value is currently 0.

Closes #7.

Not adding the min_api_version for now. It can be added later on, if it
turns out to be useful.