Part of bug 896738 - Fix various strict warnings and errors to fix test bustage. r=Standard8.
Part of bug 896738 - Fix various strict warnings and errors to fix test bustage. r=Standard8, a=bustage fix for a CLOSED TREE.
Fix incorrect function call in test_viewWrapper_virtualFolder.js to fix bustage. rs=jcranmer. CLOSED TREE