-Changed MetadataTypeAttribute to use GetCustomeAttributes to support .NET 4.0 PCL