Fix some bugs thanks to new tests. Add a compoundformset_factory.
Complete test of formsets, include adding, deleting and editing inline formsets.