Create .gitignore file

Content: vendor, composer.lock, docs, taken from https://github.com/thephpleague/skeleton/blob/master/.gitignore