Bug 863319 - Improve assertions in browser_image mochitest. r=joe

--HG--
extra : rebase_source : bf323152a21613bf20d1ff2456520346bf1460b1
Bug 858582 - Prevent callsite cloning of callsite clones. (r=bhackett)
Bug 861904. (r=sstangl)