[AS7-6173] Initial FrameworkFactory implementation

https://issues.jboss.org/browse/AS7-6173
#### Contains #3664