make sure the viewmodel change queue is clear after complete turn of the runloop
add test case for conditional and computation behavior from #1364
Merge pull request #1388 from evs-chris/gh-1364

Clear the viewmodel change queue after each full turn of the event loop