Added ModelMetadata.Container property and unit tests

Fix for #298 

@dougbu, @pranavkm - Could you please help review the code?
`var` everywhere you can; applies here and throughout the tests