whitespace
huge whitespace cleanup

- remove all trailing whitespace
- for consistency, replace all tabs with spaces
enable trailing-whitespace check