Fix client and launcher test

Had to add a shutdown at begin to ensure that no service is already
using the given port. Changed the port used in SpotterServiceClientTest
to 11337, the same exotic port as in ServerLauncherTest.

Change-Id: I2a7867c47dfe4ff90cce300cf1db331cceab749b
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Fix address in use bug in tests

Added a delay before starting the new server, only starting server once
in ServiceClientTest as it was not required to shutdown each time.
Shutting down let to complete thread termination so that other tests
would not be executed anymore.

Change-Id: I81f538669a8634e4b9add95fda7783fd5b63e72a
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Catch general exception to signal failure

Catching only InstrumentationException, MeasurementException and
WorkloadException would not forward different exceptions that may occur
during initialization of GlobalConfiguration, e.g. for wrong parameters
"" for filename.

Change-Id: I2cf43cbb7468e593ec517f581cbbea84de424ff1
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Merge pull request #96 from DenisKnoepfle/master

Fix bugs concerning ServiceClient and ServerLauncher