detect if Composer failed to include any required packages

This script displayed success message, even if Composer command failed
(e.g. "
Installation failed, reverting ./composer.json to its original content. 
PFXPHP-CLI files have been successfully installed. 
To test PFXPHP-CLI ...
").  
This update prints success/failure message depending on Composer output.