Cruft to allow OrderedDict in tests for Python 2.6

Get travis to load ordereddict module when testing python 2.6.
In the test file, try collections before ordereddict.

Update __init__ to include the two special graph classes.