Added support for displaying an error message if a refresh fails.

Added support for displaying an error message if a refresh fails.

Also made it so that the header transform is aware of the current pull-to-refresh state, so if a library user sets custom text whilst refreshing incorrect text will never be displayed.

NOTE: The error message is currently only in English.