PHPCS cleanup

Should all errors except in the DI package.

P.S. Whoever wrote the unit tests clearly didn't try that hard to meet the
standards :P
Add backtrace information to database debug log
Replace Mysql Driver with PDO version
Review README files
Remove all remnants of JFactory. \o/
Fix failing unit tests.
update docs. thanks @dbhurley
Prep for beta3