Add Maps helper class

- Maps.tuples method converts a Map<TKey, TValue> into an
  Array<Tuple2<TKey, TValue>>