Allow a callable object as a custom failure message.
Move warning message from its own method.
Merge pull request #251 from phiggins/callable_object_as_custom_failure_message

Allow a callable object as a custom failure message.