Fixed download file from URL error messages

- L10N now converted to string to make them work with json_encode
- Added specific error message when server doesn't allow fopen on URLs
- Fixed client side to correctly show error message in a notification

Related to #6284 
Having error messages shown correctly might help debug issues better...

Please review @bantu @DeepDiver1975 @karlitschek @schiesbn