Modify Visual Studio lookup logic to prioritize environment variables ov...

...er registry

For me this fixes the Visual Studio lookup logic, since my registry does not have entries it searches for for Visual Studio 2013 (see separate PR for 2012/2013 support).