Minor cleanups on views, templates and url patterns
Split foreign relations in initial migrations into separate migrations

Postgres is more of a stickler when it comes to constraints. Since we
can't defer constraint creation, nor defer its validation over multiple
migrations, we have to split the migrations.
This probably won't be a problem in Django 1.7.
We are also splitting the migrations on existing installs (checking for
existing table/column names)
Fixes #3160
Travis: Split dependencies into their own file

This avoids extra dependencies when building the package outside travis.
Travis: Add a travis-specific settings file
Travis: Add postgres to the testing matrix
Travis: Add mysql to the testing matrix
Travis: Always build with memcached
pysqlite2 not needed since Python 2.5

sqlite3 was introduced in Python 2.5 so we no longer need pysqlite2.
See http://trac.edgewall.org/wiki/PySqlite and
http://docs.python.org/2/library/sqlite3.html
Travis: --use-mirrors in deprecated in pip 1.5
Settings: Specify ATOMIC_REQUESTS for DATABASES

Django 1.6 replaces TransactionMiddleware by ATOMIC_REQUESTS == True.
This allows more control over the transactions, however it also means
database backends that don't behave properly without autocommit will
break in 1.6 (such as sqlite).
initdb: Do not create a manual transaction for projects/languages/admin

This makes Django 1.6 complain as sqlite will not play nice with manual
transactions outside atomic blocks
Travis: Add postgres and mysql to the 1.6 test matrix

Also drop 1.6 from allowed failures as it should now build properly.
runner: Use argparse instead of optparse
py3: runner: Switch to python3-compatible print syntax
py3: runner: Drop deprecated raise syntax
py3: runner: Add a python2+3 compatibility shim for input()
runner: Get rid of custom argument parsing code, use argparse instead

argparse has a wonderful subcommands feature which does everything we
want it to do, and more.
runner: Use a real subcommand for ./runner.py start
Cleanup: unified admin URLs
Unified names for named URL patterns