WFLY-1359 Add full support for replacing application libraries

Libraries can now be replaced in ear/lib as well as WEB-INF/lib,
and new libraries can be added.