updated version
Update README.md
db as optional dependency
more optionals
fixed optional tests
some diag output
Merge pull request #6 from RexOps/master

sync over master branch