ModuleManager: allow subclasses to compare module versions for ceylon/ceylon-compiler#1347

This allows us to pretend Java 7 and 8 are equivalent when running on Java 8