Bug 1041060:  Use AllocateByObjectID/FreeByObjectID for nsInheritedStyleData and nsResetStyleData.  r=heycam

This is similar to bug 1038488, which did the same for style structs.
This means the entire path from frame to style struct should be
allocated using frame IDs or object IDs.
Bug 1040386:  Fix hopefully-harmless CSS syntax error in isOMTAWorking().  r=birtles

I noticed this in the logs of a B2G emulator mochitest run.