Remove more unused imports, variables, and private methods.

Remove the majority of remaining unused components. Those not removed are deliberately
left present, to maintain style or to prevent loss of public-access functionality.
Files not modified include tests, ast files, and files that are part of src_jython.
Merge pull request #27 from AndrewFerr/unused_things

Remove more unused imports, variables, and private methods.