Fix jmh compilation failure

Fix outdated imports from eu.codearte.
Update jmh plugin to make it compatible with Gradle 2.x
Enhance Travis configuration to detect compilation issues with jmh