Added methods findById, getEntityClass and createDetachedCriteria to GenericDAO