use event delegation
use event delegation

instead of creating an event handler for each card name in the log window,
create a single event handler that looks for a card code in the element.

Do this also for the prompt when accessing cards.

This reduces the memory needed.

Relates to case mtgred/netrunner#431

chua-mbt/netrunner,mharris717/netrunner