extracted code of not starting some service for memcached buckets

Change-Id: Ibf4037e28be4ccc4ad3c171db14ce6554ad8b2ab
Reviewed-on: http://review.couchbase.org/35916
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>