Added base database class.
Fixed potential error in db_pdo where it was using an undeclared variable $user.
Changing DB_Base to an interface rather than abstract class.
Merge pull request #1602 from MyBBStuff/feature-base-database-class

Base Database Class