Migrate to JDO4 interfaces (PM, Query, typesafe)