Basic file upload

It is now possible to upload images as comment attachments. Also
started to add from validation on modal messages.