Adds an OptionPane interface to better support testing of ViewController.

Allows unit tests to simulate yes or no selections for the confirmation dialog that appears when a user tries to cancel creating a new game.