Updated all files to have a consistent style.

In particular:

- MethodsLikeThis()
- attributes_like_this
- K&R braces
- Using inside namespace blocks.