PSR2 CheckStyle

This PR adds Checkstyle with PSR2 validation on travis.

I correct the code to fit it.

After this you'll be able to see if the next PR are PSR2 compliant before merging