Fixed dependencies and removed unnecessary files

Replaces #615, #642
Please follow the best practices (symfony/symfony is mainly used for applications and distributions).