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).

Yes, this is necessary to make it work in Ubuntu 14.04.
I didn't get to the end, but with out this I will never get there.