Modifying tests to run in both in aspnet50 and aspnetcore50

* Additionally trimming references from project.json
For GetProperty to work in CoreCLR