Support ASP.NET vNext

This is the first part of #170

/cc @lodejard @davidfowl @Eilon @glennc