Fixed composer dependencies

Rolling back to a range of version.

Use ~2.0 for yaml component.

Use ~2.0 for console component.
Removed unnecessary configurations in travis.
Merge pull request #99 from blaugueux/patch-composer

Fixed composer dependencies