Pair class deleted and split into multiple other implementations

Deleted the Pair class (based on
https://groups.google.com/forum/#!topic/comp.lang.java.help/-LY_xkXBtIc
- comment Hunter Gratzner). TODO: need to be tested!
Tested the classes that replace the Pair class

Had also to add some dependencies in the pom.xml files