[#858] Merge ChannelPipeline.replaceAndForward into replace and removeAndForward into remove
[#1244] Support ChannelTransferPromise for sendFile
Renames and typos
Replace TransferFuture(Listener) with (Channel)ProgressiveFuture(Listener)

- Now works without the transport package
- Renamed TransferFuture to ProgressiveFuture and ChannelProgressiveFuture / same for promises
- ProgressiveFutureListener now extends GenericProgressiveFutureListener and GenericFutureListener (add/removeTransferListener*() were removed)
- Renamed DefaultEventListeners to DefaultFutureListeners and only accept GenericFutureListeners
- Various clean-up
Use progress + total instead of delta

.. because there is sometimes a task whose total is only a rough
estimation
Fix a bug where HttpContentEncoder does not update 'Content-Length' and 'Transfer-Encoding' correctly

- Add 'Content-Length' and remove 'Transfer-Encoding' in case of FullHttpMessage
- Remove 'Content-Length' and add 'Transfer-Encoding: chunked' in case of non-full HttpMessage
- Fixes #1275
Revamp HttpContentEncoder

- Use state machine to simplify the code
- Always produce a chunked response for simplicity
- Change the signature of beginEncode() - HttpContent was simply unnecessary.
- Add more test cases
- Fixes #1280
Ensure to release the component when it's removed from CompositeByteBuf / Add tests for reference counting of CompositeByteBuf
Fix a bug where DefaultCompositeByteBuf.nioBuffers() fails when its component's nioBufferCount() is greater than 1

- Fixes #1267
Fix checkstyle
[#1284] Fix bug which can cause in infinity-loop triggered by a handler removal
Fix failures in testsuite-osgi-deps

- Make only netty-common depend on javassist at compile scope, and
  all others at test scope
Fix a bug where LineBasedFrameDecoder does not handle too long lines correctly

 - Related: #1287
[#1236] Fix problem where adding a new ChannelHandler could block the eventloop

This change also introduce a few other changes which was needed:
 * ChannelHandler.beforeAdd(...) and ChannelHandler.beforeRemove(...) were removed
 * ChannelHandler.afterAdd(...) -> handlerAdded(...)
 * ChannelHandler.afterRemoved(...) -> handlerRemoved(...)
 * SslHandler.handshake() -> SslHandler.hanshakeFuture() as the handshake is triggered automatically after
   the Channel becomes active
Just fail all futures that are left to not cause out-of-order writes
Split dynamic pipeline manipulation test into a new class / Replace PrefixThreadFactory with DefaultThreadFactory / Port the latest tests from the branch 'out-of-order' written by @normanmaurer
Typo
Fix checkstyle
[#1295] Make sure retain(..) returns the correct WebSocketFrame type
Return correct type on retain(..)