Added confirm function in seesaw.core.

This adds a convenience function for getting a confirmation from the user.

Wraps JOptionPane/showConfirmDialog internally.