[WFLY-90] Deployment may not be attached to BundleRevision during persistent bundle restore 

https://issues.jboss.org/browse/WFLY-90
#### Contains #4427