Devscript update

add script `list_payload_in_pkg` -- last one on my todo list.
bugfixes, followup on #2829, tweaks for release process.