Fixed a bug, that the LifecyclceListener for the servlet was not called,
when executed as a .war file in a Tomcat. The LifecyclceListener is now
registered correctly when the Servlet is created in the
ServletContainerInitialization.

Change-Id: I3f4746b95a898b416306fa24081655a7ce6ecfbc
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added logout method to the AbstractServiceTest and inserted it at the
end of every test method.

Change-Id: I0df18fa7359b370cf49bfbef12e82efb21a1fc40
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added a method to get the valid MEC URL pattern. Fixed minor bugs in the
ScenarioService class and added a method to test a SocketConnection
(isPortReachable).

Change-Id: Ib9fd1d8c12a3040fc5e88e911c4b29a5974fb87f
Signed-off-by: Peter Merkert <p.merkert@sap.com>