Add useful methods to Stamps.

- Adds equals/hashCode to Stamp and Stamps.
- Adds a static method to merge multiple Stamps instances into one.

The equals/hashCode methods turned out to be useful when debugging, testing and verifying changes.
The merge method is used by an Analysis-merging method (pull request to be sent separately).