Improve error handling

The error return value was ignored in several cases.
More complete error handling in and around ScanMapIntoStruct.
Error handling when parsing time formats and support for the default MySQL datetime format.
Merge pull request #25 from martinhansdk/master

Suggested improved error handling
Merge remote-tracking branch 'upstream/master'