Fix form populating with array names
Added tests for FormBuilder
work on test.
extract an if check into a method.
Merge pull request #2036 from Ruby184/fix/form-populating-with-array-names

Fix form populating with array names
Clean up a little code in the form builder.
Revert change that broke accessor listing.