Add configurations to make library OSGi compatible

After all, the only things to do was to change the packaging type to bundle and add a plugin which takes care of the correct manifest creation. I checked the created jar before and after my change and everything stayed the same, except for the manifest file.