Updated hashgen to produce hash of the JAR's manifest, not the JAR as a whole (to avoid packing-related issues).