Added style guide.

I looked around the codebase and wrote down what appeared to be the style conventions in use.
That sounds like a big benefit, especially since we know we leak memory somewhere (#213 and probably more)