My improvements

* Added --output parameter for fix command to provide output file
* Added JSON output format.
* Added .editorconfig.

Also it will be good to make console output to stderr instead of stdout, but it needs changes in Symfony.
this PR is not formatted to meet the CS of the repo and has things like this