Travis-CI improvements

We now test mysql and postgres in addition to sqlite on travis-ci. We also always use memcached.

New travis-specific settings should go in settings/91-travis.conf.