add context menu to basinhopping list

the context menu opens when you right click on a minimum.  Currently you
can only select "save coords"
clean up gui code a bit

move the logic for managing the lists to a separate class