Add prefix? method on blocks to lift to patterns

Any single-parameter block returning a boolean can be lifted to a
pattern that succeeds exactly when the block returns true using the ?
operator.