[meta] Add .gitignore file

Ignore the Composer lock file as well as the direcotry of dependencies.