update file validators to new signatures and error message handling
add new file validators for content comparison

The sameContent validator, and all its overloads, allows to validate
wheter a file holds the expected content.
The commit also introduces
- IoPredicate, a function interface to allow validations which can
throw IOExceptions.
- IoValidator, a validator implementation handling IOExceptions.