First attempt at a style guide

Mostly a verbatim copy of paultag's blogpost with a few additions.
Merge pull request #1 from theanalyst/patch-1

First attempt at a style guide