Photo update from admin web photo upload interface.
Add some basic debate/speech page tests.
Refactor all debate/speech views into classes.

Consistently use id parameter, no more 'gid', and have it auto-detect if
that's a section or a speech. Get rid of separate /debate/ URL. Throw an
exception to perform a redirect, and have the API do that consistently.
Move the RSS feeds.
Merge branch 'issues/611-debate-refactor'
Remove an old PHP4 FCGI handler
Rename the development FCGI handler script

The 'bitter' in the name referred to an old server - in fact, this is
useful as a handler that doesn't have APC enabled and also skips other
options in php-basic that would cause frequent disk accesses.
Update the mySQL class to use PDO functions.
Modify mySQL class to allow execution of prepared statements.
Change all queries involved in home page to use prepared statements.
Replace mysql_real_escape_string with PDO prepared statements.
Remove code which has been commented out since 2010

This is in the git history in case anyone needs to refer to it.
Remove more long commented-out code that uses non-parameterized SQL
Modify how insert IDs are retrieved to sanity check they are numbers, and cast accordingly.
Remove redundant variable declarations.
Resolve previously unspotted syntax errors.