Fix symfony/yaml requirement

Updated to minimum of 2.2 but not 3 and higher.
Merge pull request #795 from Kazanir/master

Fix symfony/yaml requirement