Changed the test MEC from MatrixMultiplicationMEC to TestMEC. The
TestMEC is a simple stub for a MEC used in the test environment.

As the import of the 'colt'-library for math is not used any more, the
import is removed out of the pom.xml.

Change-Id: Ie0ef7d11f9a8bd7f2e80bbfbf8738ff1f5687499
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added the StartUpService to the web.xml to startup on Service startup.
The StartUpService starts a ServerSocket when the servlets are created.
As the StartUpService is called each time a test case is executed, the
socket port is already bind by the first execution. This error is
catched and output via a logger warning.

Change-Id: I492093b0d4e786ac45e854a7de271702d8ed976a
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Removed blank lines from AccountServiceTest.

Change-Id: Ifbcf2ee21bf97687c1953c4050ed22ff47dc10eb
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Fixed the MeasurementControllerService (MES) and
MeasurementControllerServiceTest (MEST).

The MES has now a valid URL pattern check. Before it checked for rmi
protocol, now it's fixed to socket protocol.

It's checked if a connection to an MEC can be stablished or failed. This
was not checked before.

Added comments to the checkUrlIsValid method in the MES.

---IMPORTANT---
The MEST is now calling the StartUpService.class as a
ServletContextListener always when a test method is executed. This
startup is regulary used in the RESTful service, too, and starts the
ServerSocket to accept MEC connections. 


Change-Id: Ib79f5f2410ca691eab26ce1a4ee691cac15d0fd7
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added a test for the controller listing service. The MEC creates three
controllers and connects to the service. When the service is requested
for the names of the controller, the correct names are given back!

However, deleted some comments in other classes and unused imports.

Change-Id: I87a66f35a5fc11a9bd93305c29b53276f809d674
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added a comment to the MeasurementControllerServiceTest class with a
reference to an JerseyTest issue ticket.

Fixed a method modifier in ScenarioService from private to public.

Change-Id: Ib720d5b57f77efc64c34eeab94e3d285e49b9680
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Fixed the MEC URI in the execution test.
Fixed the MEC URL for the ExecutionService service call. Added comments
to the ExecutionService.

Change-Id: I8c13f031ce24e2cb8664fcf0e3451065216dd0e3
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Removed unused imprt in ExecutionTest.

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