Fix upload filters and id test

Auto id generation is tested elsewhere. Upload filters are working
correctly.
Refactor simple file post into method
Handle requests exceptions

 - If the upload to backdrop fails, make sure we are given a nice error
page.
 - Add a test that checks what happens if there is a validation error