New : Added protocol CPAlertDelegate 

This PR adds the protocol CPAlertDelegate.
The delegate methods are called as we are used to in Cappuccino.