appinfo: look for terminal handlers before using list
This is an implementation of my proposal over at xdg/xdg-specs!6 (comments please!)
Basically we take advantage of mime associations to query for the users default terminal before falling back to the current list of known terminals
Hopefully addresses #1584 in the process