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>