Added ModelMetadata.Container property and unit tests

Fix for #298 

@dougbu, @pranavkm - Could you please help review the code?
needs the usual license header