Added dump method test class

- Added the class TestPatchSetDump class
- Added method test_svn_dump to test the 'dump' method of PatchLib class
- Added __eq__ methods in classes to implement comparability between
  object