[SRC] Check for memcache before trying to use it

25aa7e8 breaks things if memcache isn't available because it still
tries to load memcache when initialising the Memcache class.
Merge pull request #9 from fyfe/fix-for-missing-memcache

[SRC] Check for memcache before trying to use it