better handling of Cardtype removal+solution

Also, run code checking whether a cardtype can be deleted before showing all the other cards that would be deleted and asking if user really wants to do this.