Move classes out of 'metadata' package.

IFDMetadata and ColorFormat are now in packages that
describe their meaning in the codestream.
Update parsing logic and tests.
Fix imports.