Make `addItem` button work for array fields.

It logged an error to console before.
check for valid option object
Merge pull request #818 from metasansana/fix-add-item-button

Make `addItem` button work for array fields.
check for valid object
Merge pull request #819 from snowkeeper/email

Email check for valid option object
Removing console.logs
Providing all the field options to React (not just visible ones)
Updating build