Replaced raw MySQL database calls with PDO interface, and some general cleanup.

Reworked fof-db.php to use the PDO extension for database abstraction, likely somewhat naively or eccentrically in places, but it is enough to support SQLite, and hopefully will make any future framework refactoring easier.

Corralled straggling sql queries from other files into fof-db.php.  The installation script retains its queries, however, so as not to bloat the db module any further.

Moved most installation behaviors from install.php into new file fof-install.php.

Quieted some strict warnings.

Softened some hard tabs.

Set execute bits on scripts lacking them.
Merge branch 'master' of github.com:RomanSixty/Feed-on-Feeds

Reconciled conflicts in:
	classes/fof-prefs.php
	fof-db.php
	fof-main.php
	prefs.php