Support MiMa for reporting binary compatibility accross versions.

PR [585](https://github.com/apache/incubator-spark/pull/585) from incubator repo.