Move image and file retrieval common code to activity model
Updated expected responses: notification field
Use mimetype included in form content-type header
Update documentation