Bug 916026 Set the expected plugin state at the start of the test to avoid issues with different apps having different preferences set. r=dkeeler
Bug 917348 - Part 1: Make NS_IMPL_CYCLE_COLLECTING_AGGREGATED build on non-debug configurations; r=bsmedberg

--HG--
extra : rebase_source : 4984cf31e6855b721dabb27315b4255179aa586d
Bug 917348 - Part 2: Use NS_ASSERT_OWNINGTHREAD instead of using _mOwningThread directly; r=bsmedberg

--HG--
extra : rebase_source : 42bade39ec058881c4c82542af35f13e9f54fb1d