[AS7-6213] WARs and EARs should not get registered in the OSGi environment

https://issues.jboss.org/browse/AS7-6213
#### Contains #3709