Update composer requirements to allow symfony/yaml 2.3 or greater

Also add /vendor to the gitignore
Merge pull request #902 from tommygnr/composer-symfony2.3
Sync with b2ba9a6.
Ignore composer's lock file.
Added the changelog entry for #902.
Merge branch '3.7'