Add modernizer-maven-plugin to build

This plugin finds uses of legacy APIs:

https://github.com/andrewgaul/modernizer-maven-plugin