Add a meta dictionary to models.

Addresses #2189. 
This issue is milestoned "future" but I need it now.
It has been discussed on the mailing list already and there was an agreement to add it.

Oh, and please reference the issue number in the changelog entry according the the format used in other entries.