POM: bump to pom-imagej 2.47

This bumps scijava-common to 2.30.0, which includes the new
Versioned interface for better versioning of SciJava modules.
ModuleAdapter: improve version detection

This uses the new SJC Versioned interface rather than hardcoding the
versioning algorithm.