[FIX] Phalcon\Forms\Form::getMessages() produces PHP error if form is valid

See #1349