Allows custom errors #761

Hi,

This is a pull request for functionality discussed in https://github.com/plataformatec/simple_form/issues/761 . Let me know if more changes are required to fit in simple_form codebase.