Bug 991227 - Replace std::auto_ptr with nsAuto(Array)Ptr in LayerScope. r=dglastonbury

std::auto_ptr causes clang 3.5 build warnings because we shouldn't use
std::auto_ptr in C++ 11 anymore. auto_ptr is deprecated in clang 3.5.
Therefore I replaced all the std::auto_ptrs in LayerScope.cpp.
Note: nsAuto(Array)Ptr should use "new" operator in C++, instead of
moz_malloc() because the destructor of nsAuto(Array)Ptr will call
delete(delete []).
Bug 1015856 - Add gtest testcase for checking WebM aspect ratio. r=rillian
Bug 1024609 - Implemented RArgumentsLength reading the value stored on IonJSFrameLayout. r=nbp
Bug 1031877 - OdinMonkey: move some debug assertions on code positions until after they are converted to their actual position. r=luke
Bug 1014125 - Bisection Base Patch. r=ahal
Bug 1029316 - Add an argument in |VideoSegment::AppendFrame| for the information of bFroceBlack. r=roc
Bug 1033492 - WebCrypto: heap-buffer-overflow crash [@PK11_EnterSlotMonitor]. r=dkeeler
Bug 1034225 - Avoid purging the free lists every iteration in PJS by checking if the current arena is in use. r=terrence
Merge mozilla-central to mozilla-inbound
Bug 1027809 - Use gst_video_format_get_component_width() r=edwin
Bug 1034294 - Fix SharedBufferManagerParent
Bug 1034593 - Teach cairo to not fail at creating oversized masks in case of huge clips. r=jrmuizel
(sort of) bug 898554 - raise expected hazard count for b2g to 4 until they're fixed.

--HG--
extra : rebase_source : 9769b75cc8e39e09bcce536581a903f4457d1c41
Bug 1024289: Part 0a: remove unnecessary use of autoboxing from testBrowserProvider. r=rnewman
Bug 1024289 - Part 0b: fix cursor closing in testBrowserProvider. r=trivial
Bug 1035164 - fix nullcheck in CustomizableWidgets, remove warning for items without shortcut in subviews, r=jaws

--HG--
extra : rebase_source : 0b58d1d43a877f8776ac99fe20dda9c4495c4643
Bug 1035211 - don't call acceptDialog for privacy pane private browsing change in in-content prefs, r=jaws

--HG--
extra : rebase_source : cde84a8a08de69f205b1572d85f270c28b6de56f
Bug 1027287 - Prevent non-local network connection to aus when enabling app update in add-ons mgr hotfix test. r=mossop
Bug 1024289 - Part 0c: follow-up to fix bustage. r=trivial
Bug 1003610 - Remote Tabs shouldn't lose scroll position, r=nalexander