Added CodeSniffer and phpmd.
fixes coding style to compli with PSR2 standards.