Added emitEvent methods

Added emitEvent methods, used to emit events without arguments.
Fixed indentation

Changed tabs to spaces
Merge pull request #80 from IlyaGulya/feature

Added emitEvent methods
Implement AsyncHttpServerResponse.sendStream
AsyncHttpServerResponse: Handle HEAD requests.
Add support for content type setting in MultiPart
Merge remote-tracking branch 'koush/master' into cm-11.0
Implement AsyncHttpServerResponse.sendStream
AsyncHttpServerResponse: Handle HEAD requests.
Add support for content type setting in MultiPart
Add functions for getting the logging.

Change-Id: Ia12708f66e5ea7efb7ed889d0e924653f8d2fa44
Merge remote-tracking branch 'koush/master' into cm-11.0
Fix some NPE in AsyncHttpServerResponseImple.
Fix bug in ContentLengthFilter and Util.pump.

Allow the underlying AsyncSocket to cache pending data for pause/resume.
AsyncHttpServer: Add support for HEAD method on assets.
Add FutureRunnable and FutureThread.
Add HandlerFutureCallback to manage a callback onto a Handler thread.
AsyncServer: make the executor stuff private.
Input/Output stream emitter/sink: stop using the executors. Remove broken blocking support.