Code to spit out problem variants added.

When doing an executemany insert, we lose the ability to
find out exactly which variant is causing an error. This
goes through the variants of an executemany insert
one by one until variant causing the exception is found.
Merge with master.
Merge pull request #114 from roryk/master

Easier problem variant identification