adding adapter interface for memcached

Should allow for better mocking
using mock adapter in testing
adding travis config