Add new method setDismissOnButtonClick(boolean) to AlertDialog and AlertDialog.Builder

An annoyance of AlertDialogs is the inability to prevent the dismissal of the dialog on button click without using convoluted means to set the button click listener directly. This simply prevents the generated OnClickListener for the button from sending the dismiss message when a flag is set. The default is to dismiss the dialog on button click to maintain current functionality.