Refactoring of ClientDialog

Changes the protocol messages of butotn types to be camel case. It also
add the ClientDialogListener to get notified when a dialog was opened
and closed.

Change-Id: I04fe0c3e11f0c90e712a6720f86947e6ec40ebd9