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

This fixes https://github.com/symfony/symfony-installer/issues/25
The regular expression should refer to 2.5 and not 2.3.