Derive more Eq implementations

Fixes #181.
auto merge of #566 : kmcallister/servo/derive-eq, r=metajack

Fixes #181.