Reformatted source code to Allman style

Also documented coding style in README.md.
Batch file used to convert included (using AStyle).