Merge pull request #746 from garyrussell/INT-2906

* garyrussell-INT-2906:
  INT-2906 Upgrade Groovy to 2.1.0
INT-2929 Fix JMX Occasional Failing Tests

ExponentialMovingAverageRateTests are VERY sensitive to
timing, when running on a busy platform.

Add code to skip the assertions if we detect we are
running on a slow machine.
Merge pull request #745 from garyrussell/INT-2929

* garyrussell-INT-2929:
  INT-2929 Fix JMX Occasional Failing Tests
INT-2126 Add TcpConnection Event Publisher

TcpConnectionEvent for OPEN, CLOSE, EXCEPTION.

<int-ip:tcp-event-inbound-channel-adapter />
INT-2871 Provide Mechanism to Find TCP Connections

https://jira.springsource.org/browse/INT-2871

Add getOpenConnectionIds() to Abstract Connection Factory

Also add closeConnection(String connectionID)
INT-2877 TCP Extension Improvements

Improvements to make extension easier.

* Add setCustomHeaders() to mapper.
* Add mapper to connection factory namespace parser.
* Add plumbing for stateful Deserializers.
INT-2872 Remove Deprecated Items in ip Module

- pool-size Attribute
- setScheduler
- TcpSendingMessageHandler.getConnection()

Deprecated attribute on TCP Connection Factory.
INT-2126 Add Event Type Enum

Provides type safety for event types.
INT-2871/2877 Polishing - PR Comments

* INT-2871
** Revert harvestClosedConnections to return void
** Introduce removeClosedConnectionsAndReturnOpenConnectionIds

* INT-2877
** refactor setting standard headers and move back to toMessage
** rename setCustomHeaders to supplyCustomHeaders - returning
    a Map and not exposing the MessageBuilder to subclasses
INT-2126 Polishing - PR Comments and More

PR Comments:
* Rename event adapter to tcp-connection-event-inbound-channel-adapter
* Add the ability to filter events (restrict to one or more subclasses)

Also:
* Add publishEvent() to TcpConnectionSupport to permit, for example,
  connection interceptors to publish events via the connection, but
  the event source can only be the connection used to publish the event.
INT-2126 More PR Comments

Fix type in Event iteration.