Add compatibility flags for 2.1.* applications. 

Changed requirements in the composer.json file to make it 2.1.* compliant.