Merge pull request #104 from aldanor/master

Subclass support for handlers + decorator syntax for register()

Signed-off-by: David Aguilar <davvid@gmail.com>