Formatting changes to conform to the new Elm style guide.

The Elm style guide is a work in progress:
https://gist.github.com/laszlopandy/c3bf56b6f87f71303c9f

I am using this repository to test how it looks on real code.
@evancz 
In the style guide I said you should never have an `if ... then ... else` which spans multiple lines. If you need more space, use a multi-way if.
But this `if ... then ... else` with `then` and `else` looks ok. @evancz what do you think?