New : Added CPApplicationDelegate protocol

This PR add the protocol CPApplicationDelegate
Fixed: CPApplicationDelegate protocol does not implement CPObject protocol
Merge pull request #2034 from Dogild/protocolApplication

New : Added CPApplicationDelegate protocol