Add Permissions jar manifest attribute

Should fix https://bugs.freenetproject.org/view.php?id=6131
See http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html
Add application name jar manfiest attribute

According to
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html
this won't be shown if it isn't signed, which it currently isn't,
but it seems good to add it anyway.