[Resourcebundle][WIP] Coding stanadard

I started to fix CS on the resource resource bundle. I added some phpdoc, removed dead code, renamed some var, split some lines because they have more than 120 characters and fix some very small bug. I use the scrutinizer's plugins to do to this PR (they are configured in my personal repository)

@Sylius, I just want to know if you're agree with it. Thus I will continue this PR. 

Thank!