Make sure we use wordpress coding style.

http://make.wordpress.org/core/handbook/coding-standards/php/ used to check the rules, phpstorm formatted and modified parts that we used for semantic differences(new lines between array elements for example).