Migrated some Hibernate annotations to standard JPA annotations.
Got rid of deprecated calls to DataSourceFactory.init().
Undid AbstractSpringJerseyRestTestCase refactoring in NCS code because it's not
quite working correctly.