add document metadata to pillowtop errors

This breaks the barrier between pillowtop and commcare-hq. Is it worth going the extra mile to keep the separation boundry?