Remove outdated comment.
Add test for HTTPSession object and fix bugs.
Convert HTTPSession to simpler representation.

This required adding a new keyword to the attr_name function,
and rewriting test_object_reference a bit since an "empty"
HTTPSession object is not valid.
PEP fixes and clean up old code.