Add integration tests for CLI download current functionalities
Add failing test for CLI download with invalid OriginalFile ID
Encapsulate download method in a try/except block

- Call self.ctx.die() for ValidationException
Add first implementation of CLI download for Image:id input

- Allow an image to be passed under the form Image:image_id
- Run the query to retrieve original files from the image
Extend integration tests for CLI download command

- Add tests for invalid input (OriginalFile ID or Image)
- Add test for dv image download
Simplify image test and add MIF test for CLI download
Extend object parsing to support multiple Object:id input

- Add support for OriginalFile:id
Add paramterized tests for OriginalFile prefix in CLI download command
Add support for FileAnnotation input in CLI download plugin
Add integration tests for CLI download of FileAnnotations
Handle case of Image with no Fileset and add integration test
Fix flake8 warning
Handle case of images with companion files in CLI download

If the number of used files is larger than 1, fails downloading the file for
now. A proper solution should be implemented zipping all the files in the
future.
Add support for companion files in importMIF()

- Add single keyword (set to False) by default to add an ini file
- Add shortcut method to import a single image with a companion file
Add integration test for CLI download of image with companion file
Add error handling for non-existing object with corresponding tests
Use left outer join instead of join
Improve help of download plugin
Merge pull request #2327 from sbesson/rebased/develop/12147_cli_download

CLI download improvements (rebased onto develop)