Applied fixes and cleaning required by Visual C++ 8.0. Moved definition of soci_error ctor to error.cpp.