Adding TaskEventImpl to peristence.xml files (cherry picked from commit 7698c4a4e05f73f3d173be7070a3f8e1bbd08e21)