Added CDI and JPA support

JPA support added - persistence.xml, sample entity DeviceClass, sample
DAO. Enabled CDI.