Code tidy

This is quite a big/risky job but I've wanted to do this for a while. Max line length has increased to 100 and I've changed my CoffeeScript coding style to be more readily (in my opinion).

These changes will span both code and syntax.