[WFLY-2296] propagate resulting version to runtime state
[WFLY-405] improve module jar invalidation utils