Configure composer bin-dir as bin/
Formatting
Gitignore all files in /bin except cm.php
Include autoload.php either from this vendor/ or from project's vendor/
Detect root-dir from vendor-dir
Rename cm.php to cm
Make sure to only load 1 autoload.php
Revert typo
Merge pull request #1001 from njam/issue-1001

Configure composer bin-dir