[#1743] Fix IllegalStateException by remove usage of PendingWrite in ChunkedWriteHandler. This needs more thoughts before re-introduce it
remove unused initialCapacity
add struct to replace parallel arrays consolidate flushed & unflushed buffers
Fix a bug in internalNioBuffer() implementations of derived buffers

- A user can create multiple duplicates of a buffer and access their internal NIO buffers. (e.g. write multiple duplicates to multiple channels assigned to different event loop.)  Because the derived buffers' internalNioBuffer() simply delegates the call to the original buffer, all derived buffers and the original buffer's internalNioBuffer() will return the same buffer, which will lead to a race condition.
- Fixes #1739
Fix IllegalStateException triggered while shutting down ThreadPerChannelEventLoopGroup

- Fix #1718
- Add the test case contributed by @mkw
Fix checkstyle
[#1763] Fill ChannelOutboundBuffer.nioBuffers with null on close to allow the content to be GC'ed
fix writability callback
trim buffers before recycling
[#1770] Fix NPE which was thrown if connection timeout was disabled and the connect did not finish directly when using NIO
[#1772] Make sure ChannelOutboundBuffer.recycle() does also reset unflushed, flushed and tail.

This fix a IndexOutOfBoundsException which as triggered if recycle() did cut down the buffer[] to the initial size.
fix race condition in test
Add testcase to show channelRegistered is called
Improve the randomness of ThreadLocalRandom for all platform

- Fixes #1765
Java 6 did a poor job of generating seedUniquifier unlike 7, so I implemented platform-independent seedUniquifier generator with configurability
Make AbstractBootstrap public

.. to work around the issue with JDK reflection described here:

  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4283544

Fixes #1780
SPDY: allow MAX_CONCURRENT_STREAMS to be set to 0
[#1782] Fix IndexOutOfBoundException with direct buffer and gathering writes
[#1777] Use correct Thread when close per channel
Small code improvements
[#1735] Disable usage of JdkZlibDecoder by default, will be enabled in 4.1.0.Final