Basic Type and Tuple Comparators

Implemented with @zentol 

Set's up on pending PR https://github.com/stratosphere/stratosphere/pull/775
Related to issue https://github.com/stratosphere/stratosphere/issues/772