Added mongodb and memcached to travis.