add tests to check the basic behaviour of the default method and a fix
for issue #70
remove unecessary code
minor cleanup
docstring cleanup
rework test to support python 2.6
rename the test module
Merge branch 'master' into fix-issue-70

# By Pietro Berkes
# Via Pietro Berkes
* master: (27 commits)
  Update changelog.
  Improve documentation of 'ui' dispatch method.
  Update Travis CI files so we can test trait notification on UI thread.
  Pre- and post- change event notification hooks.
  Remove unnecessary assignment.
  Add a global trait change event tracer.
  Clean up imports.
  Improve docstrings.
  Refactor TraitChangeNotifyWrapper and ExtendedTraitChangeNotifyWrapper.
  Rename 'n' to 'arg_count'.
  Add missing call to `gc.collect()` to test.
  Cover `FastUITraitChangeNotifyWrapper` with tests.
  Cover `NewTraitChangeNotifyWrapper` for tests.
  The `dispatch='ui'` option has been broken since 2007, remove it.
  Test that objects with listeners can still be garbage collected.
  Cover `ExtendedTraitChangeNotifyWrapper`.
  Import unittest from traits.testing, remove unnecessary complications.
  Improve header.
  Cover the methods in TraitChangeNotifyWrapper with tests.
  Refactor: extract super class for static change notifier wrappers.
  ...
revert removal of check for KeyError
remove KeyError checks after PyDict_SetItem
use if...else if...else block
correct if block logic
add missing `;`
Close docstring in sample code to fix Pygmentation error
comment cleanup
minor grammar correction
Added 'self' to member functions
Fixed PEP8 compliancy
Improved PEP8 compliancy of Line2D example in user manual.
Merge pull request #86 from enthought/minor-fix-example

Minor fix for event.py example in user manual
Merge pull request #85 from enthought/minor_docs_fixes

Minor typos/fixes in the docs on Adapters