Add pimcore support and fix check style (psr-1 / psr-2 standards)

- Pimcore support added 
- Some check style issues solved with php-cs-fixer (https://github.com/fabpot/PHP-CS-Fixer)