Separate form submission into another component

I realised my component [ForbesLindesay/imgur](https://github.com/ForbesLindesay/imgur) shares a lot of code with this one, so I've separated it out into a different component, which simplifies this module to just adding a file to a form.