[scripts/build.sh] Recognize target doc.
[DEBUG] Ensure traced messages end with new-line.

MS Visual Studio output console does not add it.
Change specification of exported symbols...

... from __declspec(dllexport/dllimport) to .def file.

 * src/mCtrl.def: The new .def file.
 * include/mCtrl/defs.h: Remove __declspec() from MCTRL_API definition.
 * Makefile: Use the .def file for DLL building and create the import lib with the help of gendef tool to get decorated symbols for the import lib.
[contrib/VS2010/] Add ipch into .gitignore.
[contrib/VS2010] Update project files to make mCtrl buildable.