Unify coding style.

Unifies basic coding style across all classes and make cpp lint
happy. All the changes are pretty basic ones. This doesn't handle
any changes which need changes in code(i.e c style casts vs c++),
which need to be handled separately via review process.