password version 2 gives us blowfish
Fix stats query
Fix a couple of things that were causing me problems on my local
install.
Fix two parser errors in LogClass.php introduced in that pull request,
and add the password_compat lib to this branch.
Merge branch 'upstream' into new-closes