add a composer.json and add vendor to gitignore
add OSX cache file and composer.lock to git ignore
Merge pull request #12 from Tarendai/master

Composer.json + gitignore