New: Added CPBrowserDelegate protocol

Added CPBrowserDelegate protocol
Also, now, delegate methods are called as we are used to do it in Cappuccino
Merge pull request #2098 from Dogild/CPBrowserDelegate

New: Added CPBrowserDelegate protocol