Remove trailing whitespace (fixes #18).
Fix module docstrings to occur before __future__ import.