Add Handler priority constants
Add Handler sorting tests
Simplify handler stack
Fix failing tests
Merge branch 'master' of github.com:filp/damnit