Change code style to PSR-2

Change coding standard to PSR-2. This time without changing any code. This comes after that in separated pull requests.
I guess doxygen has a inherited attribute for this? so we can just define the block in CLIFramework.