Injecting RadioTransport in RadioProcessBufferProcessor.

Before this, a single RadioTransport instance was passed to the
RadioProcessBufferProcessor constructor during instantiation. So now
every processor has its own transport instead of a single one being
shared between all of them.

(cherry picked from commit e4009be7aa976b68fd0de45a54dbc244e5f88231)
(cherry picked from commit 7245052c08a5d45ee51b4db129085a484cde3621)
Adding blocking queue, batch push/pop, bumping versions.

(cherry picked from commit a69474c7118d51690fecdb046fc503b2680e1ddc)
(cherry picked from commit c5d2ea4a5fe0fc57e3593bfd193149c7dc427eb2)
Adding more AMQP configuration options to radio configuration file.

(cherry picked from commit 759750a832c8e8199f767beece1bb451d5b47c77)
(cherry picked from commit 421c72a5fc83fe3b767225b88d079fa52c73f3a8)

Conflicts:
	graylog2-radio/src/main/java/org/graylog2/radio/Configuration.java
Adding parallelism to AMQP producer and consumers.

(cherry picked from commit 0a55cafe48c63947a6616ad5f0a40c5021c3266c)
Moving ring_size configuration parameter to shared base configuration.

(cherry picked from commit 3cc7056f52c38624f3814f241cbe7db5f2a36222)
(cherry picked from commit 5e4b35ac33d41bcc68a9288b95ab737f519a47af)

Conflicts:
	graylog2-radio/src/main/java/org/graylog2/radio/Configuration.java
	graylog2-server/src/main/java/org/graylog2/Configuration.java
Introducting parallelism for periodical workers.

(cherry picked from commit 594949e9090f3063c8edd93e13d2bdd76f1b5583)
(cherry picked from commit 5046f8448d358e138fe68c7a000b37a857ae590c)
Adding default parallelism level of 1 to Periodicals.

(cherry picked from commit 775a711e36115bff8025a4871d39484b5b3e182b)
(cherry picked from commit ca784318ce0fbd90d7be1492a215931f542f1abc)
Correcting minor merge errors.
Guard MessagePack with a ThreadLocal where necessary

Unfortunately MessagePack (or more precisely the TemplateRegistry and BuildContext)
is not thread-safe, so each thread will need its own instance of MessagePack to
work correctly.

(cherry picked from commit d4405a9cce22742a7053b3b5cb45a260a0efb93f)
Fix timestamp handling in amqp.Consumer

(cherry picked from commit d2cc88a878cfcd78d551292ec56c95f21f2ebbef)
Revert "Guard MessagePack with a ThreadLocal where necessary"

This reverts commit 739be26697314c5062994176a2aee05faed57165.
Adding check for null (indicating an interrupted take), retrying then.

(cherry picked from commit f6fee85a6a59d473ebeb8f00e642534021d5cbb7)
(cherry picked from commit 2ebc2e7426a56f9c38f238e09dc6706d54b489f7)
Messed up the null check by not using the local variable afterwards.

(cherry picked from commit c2e132dce5ed182218d302f5cd89a499e39b9982)
(cherry picked from commit 6942fcffbdaadc4e70641b116882c643a00444d7)
Making pop from DiskJournalCache block if queue is empty.

(cherry picked from commit af4d07753838fde9e9a9fb0b6a1a4d09a6c15997)
(cherry picked from commit 8d4ea55cc88e57076dfd1a39fe0816d00bbecdee)
Formatting AMQP vhost and routing key strings to allow parallelism.

(cherry picked from commit 37d0a5864b132af645e003e6d4f2b46c5a415499)
(cherry picked from commit 4e845a5e14a47692b9bbf437364ee6e08c65d802)

Conflicts:
	graylog2-radio/src/main/java/org/graylog2/radio/transports/amqp/AMQPProducer.java
Correcting superfluous ,
Adding ThreadPoolExecutor to Netty REST pipeline to free up workers.

This prevents the REST API getting unresponsive when several long
running requests are being processed.
Optional disabling of radio node after transport errors cross threshold.

When a user defines the "radio_transport_max_errors" parameter in the
radio configuration file and the radio transport encounters an amount
of consecutive(!) errors higher than this threshold, it switches its
load balancer status to DEAD. Reenabling needs to be done manually
after fixing the root cause of the transport errors.

(cherry picked from commit a0592a00595441f3193a3971043132d21396bd92)

Conflicts:
	graylog2-radio/src/main/java/org/graylog2/radio/transports/amqp/AMQPProducer.java
Reusing ThreadPoolExecutor.

(cherry picked from commit b895e9e4ca573b2f92e4335904650067e0ce4318)

Conflicts:
	graylog2-shared/src/main/java/org/graylog2/shared/initializers/RestApiService.java
Adding more logging.

(cherry picked from commit 0ebd1fecf181b0378878417da031521f6750ce5b)