Added PDO connection class

Added PDO connection class, but it is untested (may not even compile). It is modified from code I use on a project.