Improve the extend command to be run incrementally

* Rename the inform command to check
* Warn about negative parent_ids in the check command
* Move ensuring the indexes from the extend command to the driver module
* Update office locations if not yet set or if null
* Traverse the folders always to find thos without ancestors set
* Prefer using Q.ninvoke to Q.nfcall
Remove analysis queries from the check command
Add analyze command
Add preliminary page showing the analysis results