[NUCCORE-922] Change bytecode enhancement contract to use Persistable.
Make use of builtin DN single field id classes. Try to minimise use of
javax.jdo classes (still some more to remove).