Merge pull request #8 from markwoon/dev

- Fix NPE for missing slowQueryThreshold
- Fix NPE for calling executeBatch without any preceding addBatch
- Add support for JDBC 4.1.
If addBatchDetail=false don't bother logging anything during addBatch().
Tweak code as requested.