[BUGFIX] Prevent bug when Composer enter interactive mode

Sometimes when installing the application through
Composer, the User is asked to interact with the shell.
This interaction is not possible when in the context of PHP
as implemented currently. As a result a bash script is
a safer option to see and react to these messages.

Change-Id: I420c479b5fe4b67120ff781b9fc5f5d4998f0ecc
Reviewed-on: https://review.typo3.org/29716
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot