Bump to pom-imagej 2.7

This also adjusts the code for the updated imagej-common 0.5.0.