Add checked exception handling

PLT-482
Add methods to handle checked exceptions in common functional interfaces.

Also add negation of predicates as a static method (works better in certain circumstances).