Fix codestyle

Add phpStorm IDE files and atlassian-ide-plugin.xml to .gitignore
Check PSR-1, PSR-2 codestyle