add scripts/rebuildstaging

Make sure your git state is clean and then run

```bash
scripts/rebuildstaging staging.yaml
```

See http://dimagi.titanpad.com/staging for what to put in the yaml file