Validate parameters in Phalcon\Forms\Form::setEntity()
Fix segmentation fault in Phalcon\Validation\Message\Group::__construct()