Forms: onSuccess callback takes $form and $values parameters (close #1255, #1374)