New database system that uses PDO if present/Test script for doing database upgrades.