Added check whether a dunning can be closed
dunning table should update correctly for dunning status update
simplified states of DunningViewModel and DunningView
updated DunningVM tests to new state
Merge pull request #618 from Junkern/#603

#603