Added a complete Symfony version checker to decide if we can install it

This fixes https://github.com/symfony/symfony-installer/issues/25
same issue here