Add modernizer-maven-plugin to build

This plugin finds use of legacy APIs:

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