Clean up trailing whitespaces and line lengths

Thanks to https://github.com/metricfu/metric_fu
and https://github.com/SublimeText/TrailingSpaces