m2v2: send CREATE and DESTROY events to Kafka

(cherry picked from commit b42f472c26a1562ced61f4e4b16a6729338a9ca4)

Change-Id: I3e32f2153bd883aa17d8cb79da8ef7de0f61c635
m2v2: generate sequence number for events

(cherry picked from commit 0836c04e6f660554bc5de4a4a51025ffc07bb5f6)

Change-Id: I7bc6ecb9fcfeee0103ffce5c039eedc182608150
m2v2: fix Kafka events for append operations

(cherry picked from commit 59938c74c3d71c757293901c586d763e30a5b376)

Conflicts:
	meta2v2/meta2_filters_action_content.c
	meta2v2/meta2_filters_misc.c

Change-Id: Ie88cf3218b1c4875f48d9503b267fa0e50675edf
m2v2: change Kafka topic, fix bug when more than 32 chunks

(cherry picked from commit a32cc3c9f053cd2445bee1eb3613c41594086ee2)

Conflicts:
	meta2v2/meta2_filters_misc.c

Change-Id: I6a321081a9af2a52dccd122c3fa9b921e0c71b10
m2v2: add storage policy in content header JSON serialization

(cherry picked from commit bccb5926f58b52660f801c304b0bce96b2a15036)

Change-Id: I019d711c72cfec3d8e51d95833aca81b67c711d2
m2v2: remove '\0' from end of JSON events to ease Java reading

(cherry picked from commit 83877c98a1dc32cde0b145cc52542e11b8f7ef46)

Change-Id: I861c9dfa143466ff95eec8c5e831437aa6c3a1b9
m2v2: remove bad '"' character from JSON event

(cherry picked from commit 85f9dae5a3d159616a46ef748e9020412971c663)

Change-Id: Ia29f2d281c2856e75c888073245e08d3d2253d14
m2v2: generate event on alias copy and chunk substitution

Change-Id: Ic7a481e65e82cc1566e5cbb286cd8fff818f12f5
(cherry picked from commit 9375390be5bb8fbbcf693ad649ab26130d697510)
gridagent: take tag.agent_check into account

Change-Id: Id9ba402cbd20c6a32897c500f1cb2c6a2f20269c
(cherry picked from commit 040462d526799fc1830ef76d34ee93a5ebac2660)
m2v2: fix Kafka events for delete requests

Change-Id: I951a065278aae680907df1f2f84df46a11223991
(cherry picked from commit 9e27a65a5b3c0b8598959973df5953470e920444)
m2v2: send Kafka events on PURGE

Change-Id: Idd9e58d637e0c3cd6dfe64fff09200cf38c6555d
(cherry picked from commit 40f64e31372840006800bd119a4a3b1b96ec2b08)
m2v2: enable/disable Kafka events from conscience conf

and fix memory leaks and disable Kafka events for local bases

To enable Kafka events from conscience configuration, for all namespaces:
  param_option.event_config.meta2 = kafka_enabled=true;kafka_topic=TOPIC

To enable Kafka events from conscience configuration, for a namespace
and all its virtual sub-namespaces:
  param_option.NAMESPACE_event_config.meta2 = kafka_enabled=true;kafka_topic=TOPIC

kafka_topic is optional and defaults to "redc.meta2"

Change-Id: I7ea1094e24e5029cfcad46c031db35ba99f2eb47
default expression for solr's score.
cluster / conscience : removed default configuration for non-storage services.
Merge branch 'master' of https://github.com/jfsmig/redcurrant
Merge pull request #5 from jfsmig/rebase

Rebase