fixed x_integer handling for 64-bit

DB2 (erroneously?) assumes a SQL_C_LONG is a 32-bit integer and
defines SQLINTEGER accordingly.  Since a long integer is likely 64
bits on a 64-bit platform, using 'SQLINTEGER' instead of 'long' makes
more sense.
eliminated compiler warnings
fix to allow a statement to be executed multiple times

- close the cursor if one is open
- do not clear parameter bindings between executions
report attempt to bind use elements both by position and name
provide atomic transaction support even when autocommit is enabled
a SQL_SUCCESS_WITH_INFO return code should not result in an exception
freeing a statement automatically closes the cursor and releases column buffers
added result verification and incorporated common tests into the db2 backend tests
sqlState was losing the supplied message text
added implementation of get_affected_rows to the db2 backend
find the 32-bit libraries when building against a 32/64-bit installation of db2
Start adding soci::connection_parameters class.

Right now this is just a trivial wrapper for the backend and connection string
and no extra functionality but it will be extended with connection options
support in the subsequent commits.

No changes in behaviour, this is a pure refactoring.

Signed-off-by: Vadim Zeitlin <vz-soci@zeitlins.org>
Use "class" keyword instead of "struct" for backend_factory.

No real changes, but just use "class" for consistency.

Signed-off-by: Vadim Zeitlin <vz-soci@zeitlins.org>
Update all backends to take connection_parameters instead of connect string.

There are still no real changes as only the connect string part of the
connection parameters is currently used, but this will make it possible to use
other information stored in connection_parameters from the backend code in the
future.

Also replace session::lastFactory_ and lastConnectString_ with a single
lastConnectParameters_ making the code slightly shorter and simpler.
Fix "next" link on the errors documentation page.

It should be to connections.html, not the (non existent) basics.html.
Add support for odbc_option_driver_complete connection parameter.

Allow passing arbitrary options via connection_parameters and add support for
an option allowing to specify the "driver completion" mode, i.e. the degree of
interactivity of the driver, in the ODBC backend.

By default now do ask the user if the DSN doesn't include the user name and/or
password for the connection but the old behaviour is still available if
ODBC_OPTION_DRIVER_COMPLETE option is set to SQL_DRIVER_NOPROMPT before
opening the session.
Document connection_parameters class.

Document the new session ctor taking connection_parameters and the class
itself in the references page.
Add license and copyright to CMakeLists.txt files

Update AUTHORS and MAINTAINERS properties in soci_backend() calls
Update required CMake version to 2.8
Fix Travis error https could not be found

Travis builds are breaking with this error: The method driver
/usr/lib/apt/methods/https could not be found