Make confirm_dialog a base class of revoke and restore certificate dialogs

https://fedorahosted.org/freeipa/ticket/3035
Make confirm_dialog a base class for deleter dialog

https://fedorahosted.org/freeipa/ticket/3035
Make confirm_dialog a base class for message_dialog

https://fedorahosted.org/freeipa/ticket/3035
Confirm mixin

Base mixin class for dialogs witch confirmation/canceling capabilities.

When used, dialog can be 'confirmed' by 'enter' key or canceled by 'escape' key. It doesn't accept confirmation from all elements to not override default expected behavior like creating new line in text area, executing link or selecting a value in a select element.

https://fedorahosted.org/freeipa/ticket/3200
Confirm adder dialog by enter

Added confirm mixin support to entity adder dialog.

https://fedorahosted.org/freeipa/ticket/3200
Confirm error dialog by enter

Refactored error dialog and unauthorized dialog to support confirm mixin.

https://fedorahosted.org/freeipa/ticket/3200
Focus last dialog when some is closed

When multiple dialogs is opened and one is closed the new top dialog doesn't recieve focus. It prevents from confirming/canceling the dialog using keyboard. This patch is fixing it.

https://fedorahosted.org/freeipa/ticket/3200
Confirm association dialogs by enter

Support for confirm mixin in association dialog.

https://fedorahosted.org/freeipa/ticket/3200
Standardize login password reset, user reset password and host set OTP dialogs

In all dialogs:
 * validation notification was standardized
 * can be confirmed by enter

User pwd dialog has fixed focus of first element.

https://fedorahosted.org/freeipa/ticket/2884
https://fedorahosted.org/freeipa/ticket/3200

Standartize password reset dialog
Focus first input element after 'Add and Add another'

When using 'Add and Add Another' button in entity adder dialog the dialog lose focus when an item is successfully added.

It caused by search dialog filter input. It gets focus in search facet's refresh. The refresh is happening when item is added.

This patch is disabling this focus and additionally is focusing first input element to allow imidiate definion of another item