1. Added new DBFactory class which can be used to create DB instances
2. DB class now wraps PDO and checks for a valid connection every time the getConnection() method is called
3. Modified DBHelper class to accept a DB object instead of a raw PDO object
Merge branch 'ftr-dbfactory' into development
1. Changed name of factory method to makeDB from instance
2. Corrected bug in DB Connection setup