Implement equality operations for Location

In writing the snapshot to/from db, I had some tests fail because I hadn't
yet implemented __eq__ for Location. This adds __eq__, __neq__, and __hash__
for location so it can continue to be used as expected.