PDO implementation, JS updates, extension fixes

Added httpError handler to web.config to display any errors instead of
the 500 error page. Updated the PDO database connector to implement the
parameter type execution. Updated header/footer. Basic query modelling.