Lots of little fixes to the new packages and metafile classes.
Improve rez_metafile document validation by automatically casting version strings to Version classes