Fix war overlay in functional-test

- added a new module to create the overlay (with only needed code and libraries)
- functional test will no longer build war overlay but just executing tests