Various consistency fixes in numerous modules
Some of these were my own fault, but I went ahead and fixed a couple of
inconsistencies I found. Mainly EOF newlines and interface implementation.
Merge pull request #57 from Heufneutje/fix-formatting

Various consistency fixes in numerous modules