add a composer.json and add vendor to gitignore
add OSX cache file and composer.lock to git ignore