Move apidb backends to a consistent whitespacing format

The backend files were a mix of 3 space idents and 2 space indents,
often in the same function. This commit moves to a consistent 2
space indent and makes a few else clauses use a consistent format.
Reformat apidb backend SQL statements for clarity

No changes in the SQL, just whitespace and caps changes
Rephrase some SQL queries

No changes in meaning, just consistent AS names.
Add an apache configuration file for cgimap

This configuration will direct to cgimap or to a rails port instance
depending on if cgimap can handle the request
Merge pull request #66 from pnorman/apache_config

Add an apache configuration file for cgimap
Merge remote-tracking branch 'pnorman/apidb_reformatting'
Trying to re-do @pnorman's whitespace update after conflicts in merge.