Implements a decorator to auto-detect handlers as requested in issue #15

The naming is a bit different for no particular reason.