LDAP: use memcache if available

Since OC_Cache was split up into (File)Cache and Memcache (https://github.com/owncloud/core/pull/2395, why actually?) and there is no common interface anymore, we need to have this adjustment so that LDAP backend can have advantage of the fastest available cache.

@icewind1991 @karlitschek @bartv2