Fixed coding style

Mostly fixed trailing whitespaces, bad visual indentation and unused
imports.
Merge pull request #12 from mauricioabreu/fix-coding-style

Fixed coding style