Fix pcap upload handler.
Fix pcap upload handler.

This is an identical commit to b6f073a930242cbb7ab216a49175fac2b67e9eed.

Make it so if related_id or related_md5 is set you must also
set related_type and vice versa. And if the related object can not be
found complain early.

This ensure that if relationships are specificed but can not be made we
will refuse to add the PCAP.

Also, fix a copy/paste error in a docstring.

lakiw/cripts,jhuapl-marti/marti,cdorer/crits,seanthegeek/crits,dreardon/crits,DukeOfHazard/crits,davidhdz/crits,Magicked/crits,Lambdanaut/crits,0x3a/crits,HardlyHaki/crits,cdorer/crits,lakiw/cripts,seanthegeek/crits,davidhdz/crits,HardlyHaki/crits,cdorer/crits,ckane/crits,kaoscoach/crits,dreardon/crits,DukeOfHazard/crits,cfossace/crits,blaquee/crits,ckane/crits,jinverar/crits,Magicked/crits,Magicked/crits,jinverar/crits,Lambdanaut/crits,dreardon/crits,jhuapl-marti/marti,kaoscoach/crits,HardlyHaki/crits,lakiw/cripts,0x3a/crits,cfossace/crits,Lambdanaut/crits,cfossace/crits,cdorer/crits,davidhdz/crits,jhuapl-marti/marti,korrosivesec/crits,blaquee/crits,blaquee/crits,korrosivesec/crits,jinverar/crits,davidhdz/crits,korrosivesec/crits,jinverar/crits,DukeOfHazard/crits,Magicked/crits,lakiw/cripts,dreardon/crits,DukeOfHazard/crits,ckane/crits,kaoscoach/crits,davidhdz/crits,ckane/crits,cfossace/crits,Lambdanaut/crits,HardlyHaki/crits,korrosivesec/crits,seanthegeek/crits,jhuapl-marti/marti,kaoscoach/crits,seanthegeek/crits,seanthegeek/crits,0x3a/crits,0x3a/crits,blaquee/crits