Hardening/style guide palib

### Description
Removed around 3300 style-guide errors from palib.
I have left 8 errors as they are especially hard to remove.
Also, a few modifications in my intents to compile under Ubuntu 14.04 are seen in CMakeLists.txt.
I prefer to save these modifications (they only affect Ubuntu 14.04).