Added composer.json and fixed Doctrine annotations

It would be nice then to add as a package to packagist.org and knpbundles