Put composer.lock in version control

Remove composer.lock from .gitignore
Add composer.lock to repository
Add vendor to .gitignore
Add simple build.php
Add PHP CodeSniffer to build script