nicer errors, warnings and notices
allow index.php mode without composer.json
use COMPOSER_HOME, not just COMPOSER_CACHE_DIR, in preparation for future changes
support COMPOSER_GITHUB_OAUTH_TOKEN config var