Add Java 8 lambda-friendly factory method to Comet
Add global logger for Java internals (forward to Scala global logger)
Merge pull request #2476 from pvlugter/comet-java8

Add Comet.whenConnected for Java 8