Hardening/style guide common

### Description
Made src/lib/common 100% conforming to the style guide.
No real changes made, just indentation and stuff.