CacheConfig does not extend MutableConfiguration anymore

cache.getConfiguration now returns an immutable instance, as stated in the spec
listenerConfigurations should be thread-safe now
added null check for waiting count-down completion of sync listeners