First cut at a style guide.

Most changes poached from dkubb.