Rules-of-thumb for formatting code in CWB / CQP

NB. There may be numerous exceptions to these rules-of-thumb in the existing CWB code, since CWB contains multiple strata of code done by different people in different styles. The aim of these

ANSI

Encoding

Brace style

Indenting

Function definitions

Function and object names

Global variables

Boolean values

Commenting

Doxygen Javadoc-style API comments