add devscript list_recent_pkg_ids

Another way to get pkg ids -- which recent installs are most recent.
Merge pull request #2689 from rolandwalker/devscript_list_recent_pkg_ids

add devscript list_recent_pkg_ids