Add optional OSGi dependencies for reactor-core (fix reactor/reactor#219) & add slf4j-api 1.5.4 compatibility (fix reactor/reactor#220).
Fix Prime Cache to target key Object and AnonymousKey instead of ObjectSelector selector
Some doc on CachingRegistry
Increase test timeout.
Added a ThreadPoolExecutorDispatcher constructor with Executor argument
Added a constructor with UncaughtExceptionHandler argument
Merge pull request #240 from mingfai/master

Added a ThreadPoolExecutorDispatcher constructor with Executor argument
Fixes #242 by notifying the Reactor on the class of the Exception rather than on the exception instance itself.
#241 The default exception handler should always be registered no matter the logging level.
#241 #245 Adds a couple of constructor parameters to Reactor and a couple of methods to EventRoutingComponentSpec for specifying two types of error handlers and the Selector to be used as a default.

Error handlers are split into two different kinds: the dispatchErrorHandler is what is passed to the Dispatcher when dispatching events and will be called in case of an Exception being raised from calling a Consumer's accept method. The uncaughtErrorHandler, however, will be invoked whenever an error is reported on a Reactor using the notify(Exception.class, Event) method. This is useful for dealing with errors that occur outside this Reactor's Consumers (like in a TCP server or somesuch).

Also adds the ability to specify the Selector to use as a default in case that object needs to be reused in several places.

Sensible defaults are used if these additional parameters are null.
Minor test fix and Groovy version upgrade to 2.2.1
Merge pull request #221 from kctang/master

Add optional OSGi dependencies for reactor-core & slf4j-api 1.5.4 support.
Merge pull request #246 from reactor/enhancement-241-error-handlers

#241 #245 Adds a couple of constructor parameters to Reactor and a coupl...
#239 #248 Hopefully fixes the BufferOverflowException by growing the internal ByteBuffer by lengthFieldLength.

Also adds support for short (2) as a lengthFieldLength.
Minor typo fix.
The exposesNettyByteBuf() test must use a SynchronousDispatcher since we're reading from the Netty ByteBuf directly. That must take place in Netty's IO event loop thread and not in some other thread, which causes random failures due to doing out-of-band IO in reading from Netty's buffer.
Adds tests for Tcp Client and Tcp Server interactions:

* Server to client should be able to send muliple (1 to N) pojos
* Same goes to client-server interactions
Merge pull request #251 from head-thrash/master

Tests for TcpClient <--> TcpServer interactions
This presumably fixes Issue #248
Merge pull request #252 from head-thrash/master

This presumably fixes Issue #248