Bug 984048 - Patch 6 - Scope ordering and utility functions. r=ehsan,khuey

Added r=khuey via IRC to validate webidl DOM peer check.

--HG--
extra : rebase_source : 0aa1a6bcdc0f2ec8c5cd8af44d39afb62b1d4abf
Bug 1031414 - Update LZ4. r=Ms2ger