Add output property to define the name of the resulting bundle, for #379

It defaults to bsn + ".jar".
This helps towards #379

Also included unit tests.