Id pending work

@terenceingram @mossrocket 

Hi Terence and Peter,

I've added the change for the id-pending-work, and deployed it onto snowy:10400.  Could you please review the code changes?  One thing I haven't got working is the children list modal, might get Peter to have a look there if Peter don't mind.  The changes should be able to merge if passes the travis test.

Thanks

Shuang