Make debian/patches DEP-3 compliant
Strip sample debian/rules header
control: set priority to optional and fix java dep