[php-composer] Added command line version to auto-provides

Also fixed some additional auto-* issues

Partial #9