Added ModelMetadata.Container property and unit tests

Fix for #298 

@dougbu, @pranavkm - Could you please help review the code?
Which might be alright. Presumably this would also be useful during validation when you would necessarily have a value for the Container.