Issue #2125125 by drkloc: Expose package_show API
Issue #2143841 by drkloc: Expose current_packet_list_with_resources API
Issue #2143857 by drkloc: Support revision_list API
tidying up and cosmetic changes to integrate package_show + package_list_with_resources + revision_list