Coding style fixes

Please test this with your projects if it is not breaking anything for you. If not then I will merge it to master. If you are using the shortened Linux Kernel style integer types you will need to define them in your project as those definitions are intentionally gone from the library.