Fixed composer's vendor directory in generator/bin/phing.php

Get composer's vendor directory from composer.json if it has been defined, and override the default "vendor" directory.