Added ModelMetadata.Container property and unit tests

Fix for #298 

@dougbu, @pranavkm - Could you please help review the code?
try making these classes `private`; leave them that way if possible.