Various Updates

Some refactoring within game_flip_card directive for easier sets of item attributes.
Initial implementation of endGame control.