Allow empty values for Form::expectInArray

Consider empty values to be valid if 'required' => true is not provided
in options. This makes expectInArray work like other expectations.

Change-Id: I15a82044e5892a1b22573ab709aadfe0079670aa