Reformat source code with IntelliJ IDEA preset

Some of this may be slightly off but it's better than it was

See http://bit.ly/spongestyle
Floating bracket