Support new error messages sent by backdrop

Also DRY the upload tests a little bit and add a message to let the user know 
to refresh the page when javascript is enabled.
Sorry, this hadn't appeared until I hit the button