Added equal and hash methods to Contact, Policy and condition classes

Ignore-this: bc1954fda7b09aa3815a5bac5043f257

darcs-hash:20100913164656-56b4d-db6c2fa27c6aef907e72d971de8e3a26a4da273e
Handle BadStatusLine exception when fetching/updating documents

Ignore-this: 5b9a92058be553b7b47cd5064c5c0bc7

darcs-hash:20100914161516-56b4d-88ca9667f497976826cef8cc627899e2e481d224