Add script to list all installed packages in deb and write it to /tmp/dpkg_snapshots

Signed-off-by: Aswad Rangnekar <aswad.r@gmail.com>