windows cpp11

@springmeyer @BergWerkGIS consolidating all the changes needed for cpp11/vs2014 here in this branch.