Move ArtifactPropertiesGenerator persistence to Hibernate.

Please consider and review this pull request which migrates responsibility for persistence and retrieval of the ArtifactPropertiesGenerator entity from iBatis to Hibernate. An issue with the Hibernate mappings for ArtifactType is also addressed.