Added the code needed for $persistant option in Connect, added optional debug mode to Connect for PDO to print errors.