Introduce special HandlerDecoratingModule that modules can implement to decorate the handler chain.

Closes #5.