Fixing missed $this->db->query()
Fixing some missed $this->_db usage.
Putting $_pdo in the right place.
Manually updating versions.