Fix MessageAttachmentObjectType.class.php
Add first pieces of attachment upload

Currently the upload is working, but it's impossible to delete the
attachment or generate a "attachment message"