Add test for bug #481628.
dep_zapdeps: prefer all_installed_slots choices

This will fix bug #480736, by preferring libpostproc in deps like
|| ( ffmpeg:0 libpostproc ) where libpostproc is already installed and
ffmpeg:0 is not.