make runtime jar and minimal runtime jar, improve manifests. Fixes #576