Move most of the core functionality over to PDO

Since the mysql_* functions are being removed in PHP 5.6 and being
future-proof is generally a good idea this seemed like a good idea.

Any new functions added to the shared library should use PDO instead
of the old mysql functions and new features added to the projects
should preferably use the new pdoConnect() method to connect to the
database instead of dbConnect().
Merge branch 'duggasys-feature-login-system-#93' into duggasys-pdo

Conflicts:
	DuggaSys/css/style.css
	DuggaSys/index.php
	Shared/sessions.php
Merge branch 'duggasys-feature-login-system-#93' into duggasys-pdo
Updated some password files to use PDO
Merge branch 'duggasys-pdo' into duggasys-header

Conflicts:
	DuggaSys/css/style.css
	DuggaSys/index.php
	Shared/sessions.php