Datastructures cleanup

This boosts coverage of OrderedDict to 100% (and found a couple of bugs along the way!), boosts the overall code coverage to 82% (see issue #203), gets rid of some unused methods that aren't in collections.OrderedDict, and cleans up the code a little bit.