[FLINK-926] Add shallow copy, deep equality, and hashCode to Tuple classes

This closes #17.