Rename Application.format_reason/1 to format_error

Makes the function name consistent with OTP modules, which all use
format_error to format reason in {:error, reason}
Merge pull request #2267 from fishcakez/application_error

Rename Application.format_reason/1 to format_error