Bug 969879 - Use fallible allocation to store the style information for CSS transitions and animations; r=dholbert

It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.