Indicate generated source code version in output.

Fixed #128.
Add an 'enabled' flag to messages, mappings, signals and commands.

The flag only effects generating source, not the actual parsing.

Fixed #129 and fixed #130.