[MONDRIAN-1572] added ManyToManyTest to test suite, fixed class cast
exception.
Merge branch 'm2m' into evergreen