Add Visual Studio projects for tests. Test in AppVeyor. Fix config header.