reduce travis-ci gemfile, enable memcached, adjust building of databases