Updating Associated Metadata Provider to follow the existing pattern.

cc @dougbu @rynowak 
what in these tests requires ASP.NET 5.0?  if it's the `GetMethod()` call, add `using System.Reflection;` or `GetTypeInfo()` instead of making the tests conditional