Rewriting the fix to PatternSpec
Remove check of heap max value, see #2793
 #2815 - ensuring that the state given when stopping is the one seen onTermination
EventHandler using the OSGi LogService
NB1: the EventHandler needs to be specified in the configuration
NB2: there are some logs that appear in the OSGi prompt at starting and stopping of the Bundle

messages are stored in Buffer
 become used in DefaultOSGiLogger
 cleanings
thanks to patriknw
OSGi EventHandler dynamically listen to LogService
More information in logging