switch to pdo
rewrite db handling
cleanup
more rewrite db handling
cleanup
fixes
more rewrite db handling
cleanup
autoloading for logger
Merge branch 'release/4.1.15'