Add management command to find domains impacted by 502 bug

http://manage.dimagi.com/default.asp?126120
Do we care about audio and video questions? They use attachments, so I think they could cause 502's as well.