Fix Jetty handling of @WebServlet annotation

When only one url was specified IllegalArgumentException was thrown.

Change-Id: I3808b0ed367c07812673d31de5dc37ee2295427a
Reviewed-by: Tomek Piotrowski <tomek.piotrowski@atteo.com>
Tested-by: Mr. Jenkins
Require explicit bindings

Change-Id: I531ebace65306186e716ca1d800809feb4b1799c
Reviewed-on: https://pirx.atteo.com/gerrit/218
Tested-by: Mr. Jenkins
Reviewed-by: Sławek Piotrowski <sentinel@atteo.com>
Add remote JMX access support

Change-Id: Ifc17b900a4cb31aa5b87b1d10d501cab00cab8f8
Reviewed-on: https://pirx.atteo.com/gerrit/213
Tested-by: Mr. Jenkins
Reviewed-by: Tomek Piotrowski <tomek.piotrowski@atteo.com>
Automatically annotate bindings with service ID

- singleton services must be marked with @Singleton annotation
- only singleton services can expose annotated bindings
- for non-singleton services all exposed bindings will be automatically
  annotated with @Named annotation with the name being the ID
  of the service

Change-Id: Ic69ee57f0351b37ce975151ffdb90c99d554de42
Reviewed-on: https://pirx.atteo.com/gerrit/221
Tested-by: Mr. Jenkins
Reviewed-by: Sławek Piotrowski <sentinel@atteo.com>
Fix: First use of ServletModule must be within global scope

Every ServletModule instance tries to install InternalServletModule.
The trick is used, because Guice installs modules only the first time
and ignores any subsequent execution of install method with the same
module (by comparing them using equals() method). We need to make sure
InternalServletModule is installed from the top level module,
because when it is installed from some private module it doesn't have
an access to all registered servlets and filters.

Change-Id: Ifade84ecd51f27839fcdf34976263621c7034ba5
Reviewed-on: https://pirx.atteo.com/gerrit/227
Tested-by: Mr. Jenkins
Reviewed-by: Tomek Piotrowski <tomek.piotrowski@atteo.com>
Various improvements using @ImportBindings infrastructure

Change-Id: I6714fd128672014cd180aedbc3876c5c300ee5f7
Reviewed-on: https://pirx.atteo.com/gerrit/225
Tested-by: Mr. Jenkins
Reviewed-by: Sławek Piotrowski <sentinel@atteo.com>
Mime types configuration

Change-Id: I8ff6894a419bc6e385d6dd8df851d7106347edd9
Reviewed-on: https://pirx.atteo.com/gerrit/228
Reviewed-by: Sławek Piotrowski <sentinel@atteo.com>
Tested-by: Mr. Jenkins
Fix: drop table cannot be prepared statement

Drop table cannot be parameterized with '?' in prepare statement.

Change-Id: I1d103beb78262d0c39ae52eae5a4f9497c16cf8e
Reviewed-on: https://pirx.atteo.com/gerrit/229
Tested-by: Mr. Jenkins
Reviewed-by: Sławek Piotrowski <sentinel@atteo.com>
Fix: DELETE FROM cannot be parameterized in prepare statement

Change-Id: Ieadfcec3350aba6202d10dd354f1b0d08d8ec8f2
Reviewed-on: https://pirx.atteo.com/gerrit/231
Tested-by: Mr. Jenkins
Reviewed-by: Sławek Piotrowski <sentinel@atteo.com>
Update parent POM version

Change-Id: I5daeb411dff445309611971ad722c21308434fc7
Reviewed-on: https://pirx.atteo.com/gerrit/230
Tested-by: Mr. Jenkins
Reviewed-by: Sławek Piotrowski <sentinel@atteo.com>
Fix: should always use getConfigHome() method

Change-Id: Ie3545ae67528b1d24f44d50aad79394e52b744b6
Reviewed-on: https://pirx.atteo.com/gerrit/234
Tested-by: Mr. Jenkins
Reviewed-by: Tomek Piotrowski <tomek.piotrowski@atteo.com>
Print out directories used by Services

Change-Id: Icfc4324337c4584f55be79744858ea312f1097d7
Reviewed-on: https://pirx.atteo.com/gerrit/239
Tested-by: Mr. Jenkins
Reviewed-by: Sławek Piotrowski <sentinel@atteo.com>
Remove the EventBus project

Change-Id: I72fad5943bf9a9253d765aaaf712ead54e7b56ba
Reviewed-on: https://pirx.atteo.com/gerrit/245
Tested-by: Mr. Jenkins
Reviewed-by: Sławek Piotrowski <sentinel@atteo.com>
WebDriver support

Change-Id: I7a571ec4998e5f4b7990ba540094d7f34c6d38e6
Reviewed-on: https://pirx.atteo.com/gerrit/247
Tested-by: Mr. Jenkins
Reviewed-by: Tomek Piotrowski <tomek.piotrowski@atteo.com>
Add missing default values for WebDriverHelperService

Change-Id: I0155f7bd9f8dd51eb81a0326deebd4e68dbdca53
Reviewed-on: https://pirx.atteo.com/gerrit/249
Reviewed-by: Tomek Piotrowski <tomek.piotrowski@atteo.com>
Tested-by: Mr. Jenkins
Refactor JettyConnectionDetails into WebServerAddress

Change-Id: Ie7954c6a75063b20c2f8e8d09408cc176b74c306
Reviewed-on: https://pirx.atteo.com/gerrit/251
Tested-by: Mr. Jenkins
Reviewed-by: Tomek Piotrowski <tomek.piotrowski@atteo.com>
Remove tests-eventbus

Change-Id: Icd3907185eb2cc1a30ed74630d4dcad413e260ae
Reviewed-on: https://pirx.atteo.com/gerrit/252
Tested-by: Mr. Jenkins
Reviewed-by: Sławek Piotrowski <sentinel@atteo.com>