Support an idle timeout to close connections for HTTP/TCP servers/clients

Manually merging PR https://github.com/eclipse/vert.x/pull/839

Signed-off-by: nscavell <nick.scavelli@gmail.com>
corrected IntelliJ replace cockup and upgraded Netty to 4.0.21
Fix multiple calls to testComplete

Signed-off-by: nscavell <nick.scavelli@gmail.com>
Merge pull request #869 from nscavell/master

Fix multiple calls to testComplete
remove legacy context based exception handling
Verticle factories
put Vert.x factory methods in Vertx itself. Also made Buffer an interface with factory methods
Various API changes related to code gen
More API work for code gen
Support extra key/trust store format : PKCS#12 and DER+X.509 in PEM format

Signed-off-by: Julien Viet <julien@julienviet.com>
Key/trust store can be configured directly with a buffer in addition of a file system path

Signed-off-by: Julien Viet <julien@julienviet.com>
Added support for Certificate Revocation List for trust store

Signed-off-by: Julien Viet <julien@julienviet.com>
Mainly change doneHandler -> completionHandler
Small fix
Moved internal blocking tasks into their own thread pool
resolved merge conflict
removed unnecessary annotations
optimise imports
Gen annotations on Pump and EventBus
Made SockJS server an interface