better error messages when there are SchemaMismatchExceptions
move schema rebuild command to tasks, and call it on SchemaMismatch
include document info in Schema errors
Merge pull request #30 from dimagi/checkpoint-issues

tweaks to make checkpointing / schema mismatches easier to fix