Add remove command to remove a package from the list of current installed packages
This should create relative/absolute dist URLs depending on the way (relative/absolute) the artifact directory path was given.
read and discard zero chars to initialise STDIN

Resolves issue in cygwin on windows 8.1 where password field is skipped. See later comments of issue #2831.
remember prefer-stable setting in composer.lock
Update repo url from github and handle trailing slashes, refs composer/packagist#354 refs composer/packagist#423
Allow dashes in class names for HHVM support, fixes #2967
Merge remote-tracking branch 'dzuelke/prefer-stable-lock'
Fix BC issue from #3101
Merge pull request #3094 from TomK/patch-1

read and discard zero chars to initialise STDIN
Merge remote-tracking branch 'webfactory/issue-2698'

Conflicts:
	src/Composer/Repository/ArtifactRepository.php
Merge remote-tracking branch 'pierredup/remove-command'

Conflicts:
	src/Composer/Console/Application.php
Finalize and bring up to speed the remove command, refs #2479
Fix php_strip_whitespace bugginess, fixes #3030