Fix StackOverflowError raised by DefaultPromise.notifyListeners() when ImmediateEventExecutor was used

- Fixed #1602
Fix checkstyle
Fix a potential race condition where the worker thread of GlobalEventExecutor terminates with a pending task

- Potential fix for the hanging SpdyFrameDecoderTest
Simplify
Merge remote-tracking branch upstream/$:{upbranch}