Use suggested-action style in the folder dialog
folders: Use hash sets instead of ptrarrays

Hash sets help with automatic duplicate elimination,
and make lookup easier.

Also include (#ifdef'ed out) debugging code.
Installed: Selection mode improvements

Leave selection mode when one of the actions is done, and
don't forget to save the new folder configuration when
removing an app from a folder.