Initial version for profiling code
Move profiling code to commons
jruby: add temporary traces for profiling

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
jruby: fix NPE in JRubyActivator

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
jruby: remove runtime checks for plugin types

This is quite expensive (100+ms for the CyberSource payment plugin)
and doesn't give us much (arguably, this was even a bit restrictive).

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Add profiling filtering
Merge branch 'profiling' of github.com:killbill/killbill-platform into profiling
osgi: export OSGI datasource to JNDI

This is especially useful for JRuby plugins when using
activerecord-jdbc-adapter.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Revert "jruby: add temporary traces for profiling"

This reverts commit a1c91a935578ac5650a2a36722cf67dec7fe86dc.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>

Conflicts:
	osgi-bundles/bundles/jruby/src/main/java/org/killbill/billing/osgi/bundles/jruby/JRubyPlugin.java