Fixes composer and add .gitignore

This pull request fixes the composer file, removes a typo and adds a .gitignore file.