New: Added CPControlTextEditingDelegate and CPTextFieldDelegate protocol

Added CPControlTextEditingDelegate and CPTextFieldDelegate protocol
Merge pull request #2095 from Dogild/CPControlDelegate

New: Added CPControlTextEditingDelegate and CPTextFieldDelegate protocol