Progress bar fix

Fix for FB131047: Changing entry after validation doesn't propagate to repeat and FB135033: real_date_repeat not being set by setvalue repeats.

Progress bar no longer expands repeats early. Before a repeat group has been expanded, its questions won't be counted either in the total or the number completed.