Added ModelMetadata.Container property and unit tests

Fix for #298 

@dougbu, @pranavkm - Could you please help review the code?
wrap long line