Bug 831961 - fix jsapi-tests rooting hazards from static analysis. r=terrence

https://tbpl.mozilla.org/?tree=Try&rev=3938c588e1d1

--HG--
extra : rebase_source : c566e3137bca925c7c4789bcd477d0cd85fc366e
Bug 831307, add additional logging. r=cjones.
Merge m-c to inbound.
Bug 834062: Disable INET6 for sctp unittests on Android to match the tested code r=ekr
Bug 804837. Part 0: Rework the connection and input/output port logic for Web Audio nodes; r=ehsan

Here's what this patch does:
-- Makes AudioNodes mostly not use nsWrapperCache. AudioDestinationNode
still does.
-- Rename MaxNumberOfInputs/Outputs to NumberOfInputs/Outputs, and have them
default to 1 in AudioNode.
-- Allow any number of nodes to be connected to any given input/output port.
Backed out changeset 33b1caee42d2 (bug 827843) for Android test failures.
Bug 827843: Check for closed state on relevant operations r=jesup,smaug
Bug 809018 - Add 12-hour mode to DateTimePicker; r=jchen