m4/ax_declspec.m4: Make sure that classes can be exported as well.

configure: Regenerate.
Simplify Visual Studio 2010 project files. Put more properties into property files.