add ability to insert new factors in edit

New factor forms can be added to the factor version formsets.  This is
done with an ajax call which renders html using the factor version
widget.

Also simplified validation of factor versions.  Manually tested cases to
for adding factors (valid and invalid entries), and deleting factors.
make add-factor-widget a proper widget