Consolidate gameEnd and gameActions into gameHandler

Add event handlers to reset selected cards when appropriate

TODO: fix bug with playing set of unsorted cards