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
inline notice for custom composer.phar should suffice
fix composer's version warnings to STDOUT instead of STDERR breaking things