Added __eq__ and __hash__ to configuration datatypes

Ignore-this: a20ff6e81385a7bc9bc5bddd2bc0b4a8

darcs-hash:20090317123551-1e3d8-0f8194df1f5af7b65236a00c51dbc9f14d4711f4