[WFLY-3406] :  Renaming invalidated jars.

 If the renaming couldn't be done during the patch application then it is tried during the next restart of the server.
Jira: https://issues.jboss.org/browse/WFLY-3406
Just a note the ```hashCode()``` and ```equals()``` will need to be changed if this needs to be ported to EAP 6. Not sure if it matters, but just wanted to point it out.