Bug 810715 - De-lazify a JSFunction's script before querying its ndefaults value. r=luke

--HG--
extra : rebase_source : ce0494d920bb7d5f6add7cc04947ab50431dc696
Bug 703135 - Disable optimizations in oc_huff_tree_collapse when building with MSVC2012 and later to avoid crash due to compiler bug. r=derf
Bug 837416 follow-up: don't throw success