Updated CForm.php - check always calling the callIfSuccess handler

The check method was always calling the callIfSuccess handler. I changed it to call the callIfFail handler if the check fails