changes to allow proper task completion after restart

Kurt, here are changes required to make the application work properly after restart. I updated it to CR3 of jbpm as it was still using very old version. Additionally changed persistence.xml so it does work on clean AS7/EAP6.

hope this helps