Added necessary database configuration to travis.
Added memcached to travis.
Added config.yml copying to travis.