[WIP][TASK] Switch the coding style to PSR-2

Also update PHP_CodeSniffer to 2.0 as this version provides the
corresponding standard.

Closes #102