Implemented support for option groups to select type prompt.

Added support for select option groups for prompt dialog. Demo http://jsfiddle.net/4rCrS/2/