Bundle composer-specified dependencies in tarballs

If composer is installed and a composer.json file is present,
run "composer install" prior to creating the tarball.

Bug: T70940
Change-Id: I26b1a2710d25a90a71d9bebd86e3c447793d8567