Added compatibility with nette 2.2

Second argument for onSuccess, see https://github.com/nette/forms/blob/master/src/Forms/Form.php#L417-L419

But I'm not sure if second argument wouldn't be optional?