Cherry-picks for 3 last commits in master branch

Cherry-picks of following commits with some small modifications:
- 6412c5237b966ebaf121bf6234aa005a0dd17ff7 (Move common tests to separate module)
- b32413df5be495218a0c2d2aed3a720888307038 ([ARQ-1788] containers - code refactoring)
- f602b493383dec55f96f107357499c8e4050f775 (Initial implementation of arquillian-container-karaf-remote.)