[AS7-5951] Cannot reliably deploy OSGi host and fragment bundles on server restart

https://issues.jboss.org/browse/AS7-5951
#### Contains #3720