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

This fixes https://github.com/symfony/symfony-installer/issues/25
You could extract the format string into a variable and reuse it for the 2.5 check. Probably a matter of taste, but I find it more readable.