dimagi/commcare-hq — pull request #3192 by czue (2014-04-16 14:32:18+00:00)
Title: make archiving and unarchiving a form properly handle commtrack data

this consists of 3 items:

1. deleting stock reports (and cascading transactions) when a form is archived
2. properly updating stock states whenever a stock transaction is deleted
3. reprocessing the commtrack part of the form when a form is unarchived to repopulate the standard models.

+ a basic test