Backout 49ca6a3ef0b6 (bug 850922), 1ff4af81172a (bug 849453), 5e0347b9a4e4:085337fa9658 (bug 841059) and 88942e6ce28d (bug 850749) for busting the build
CLOSED TREE
Remove silly debug statement left in a test (for bug 848062) that breaks it in opt builds. No bug#, r=sfink on a CLOSED TREE.