Whitespace

The indentation of many modules was inconsistent but most of the code used tabs instead of spaces. It was easy for new patches to increase the problem of inconsistent formatting. The two commits change all indentation to tabs (which seemed to be desired format) and remove trailing whitespace.