Migrate to predicate package
Migrate failover to threshold and add more features
Add test case with legacy expression
Address code review comments
Merge pull request #75 from mailgun/predicate

Predicate