Fixed sonar maven plugin version
next try with sonar maven plugin
Added jacoco profile
Trieed to harden test by preselecting port
Further hardening
Sonar fixes
JaaS support added for OSGi JVM Agent (fixed #139 and #140)

Initial idea and implementation comes from Piotr Kania <pkania@gmail.com>, see also pull request #140. The final implementation has been streamlined and adapted a bit.

* Instead of 'role' a 'authMethod' config var has been introduced (with possible values 'basic' and 'jaas')
* Roles are not checked explicitely but only a login is performed. Authorization has been checked by the server runtime (e.g. Karaf) and will fail then. This makes the implementation simpler and less dependent on Karaf.
* Refactored into smaller classes
* Added support for JVM Client
* Use jmockit for mocking JAAS

New Configuration vars:

* org.jolokia.realm  -- Realm and JAAS Domain
* org.jolokia.authMethod -- "basic" or "jaas"

If a JAAS login was sucessful, then the JAAS subject is copied into the request attribute "org.jolokia.jaasSubject" which is checked and used during performing JMX operations. If using a WAR agent you probably need to add an own Servlet filter for performing login and setting of this request attribute.
Merge branch 'master' into 2.0

Conflicts:
	agent/core/src/main/java/org/jolokia/util/EscapeUtil.java
	agent/jvm/src/main/java/org/jolokia/jvmagent/JolokiaHttpHandler.java
	agent/jvm/src/main/java/org/jolokia/jvmagent/JolokiaServerConfig.java
	agent/jvm/src/test/java/org/jolokia/jvmagent/JolokiaHttpHandlerTest.java
	agent/jvm/src/test/java/org/jolokia/jvmagent/JvmAgentConfigTest.java
	agent/osgi/pom.xml
	agent/osgi/src/main/java/org/jolokia/osgi/DelegatingRestrictor.java
	agent/osgi/src/main/java/org/jolokia/osgi/JolokiaAuthenticatedHttpContext.java
	agent/osgi/src/main/java/org/jolokia/osgi/JolokiaHttpContext.java
	agent/osgi/src/main/java/org/jolokia/osgi/security/AuthorizationHeaderParser.java
	agent/osgi/src/main/java/org/jolokia/osgi/security/DefaultHttpContext.java
	agent/osgi/src/main/java/org/jolokia/osgi/security/DelegatingRestrictor.java
	agent/osgi/src/test/java/org/jolokia/osgi/DelegatingRestrictorTest.java
	agent/osgi/src/test/java/org/jolokia/osgi/security/DelegatingRestrictorTest.java
	pom.xml
	server/core/src/main/java/org/jolokia/server/core/config/ConfigKey.java
	server/core/src/main/java/org/jolokia/server/core/osgi/DelegatingRestrictor.java
	server/core/src/main/java/org/jolokia/server/core/osgi/JolokiaHttpContext.java
	server/core/src/main/java/org/jolokia/server/core/osgi/OsgiAgentActivator.java
	server/core/src/main/java/org/jolokia/server/core/util/EscapeUtil.java
	server/core/src/test/java/org/jolokia/server/core/http/AgentServletTest.java
	server/core/src/test/java/org/jolokia/server/core/osgi/DelegatingRestrictorTest.java
	server/core/src/test/java/org/jolokia/server/core/osgi/JolokiaAuthenticatedHttpContextTest.java
	support/spring/src/test/java/org/jolokia/jvmagent/spring/SpringJolokiaServerTest.java