Fixed bug in testsuite.
Fix tab-space mixing. Remove trailing whitespace.

Tabs and spaces were being mixed, which naturally causes problems for someone
viewing the code if their tabstop is set to a different value than what was
originally intended. To fix the issue, all tabs were replaced with spaces.
More removal of trailing whitespace.
Additional replacement of tabs.
Bugfix in testsuite related to verbosity.

The verbosity level of the testsuite was always the same regardless of
what option was provided (0, 1, 2).
Replaced deprecated function.

has_key was deprecated in Python 2.6.
Fixed problem with previous bugfix.

An error would occur if the verbosity was not explicity set.