First bits of ORM

Added a basic Base class for data management of models, and a basic Db
class encapsulating PDO, with a special case for MySQL DSN processing.
This Db class will take care of loading model data from, and saving
model data into the database.