Fail retry

This is an implementation of Failed Job Retry policy. If ok I have to update the activiti guide as well