Remove ListValue::Append(raw ptr) on Mac and iOS

ListValue::Append(raw ptr) is deprecated and the unique_ptr version should be
used instead. This CL achieves that on Mac and iOS specifically.

The CL also changes some related calls to DictionaryValue::Set to take
a unique_ptr instead of a raw one.

BUG=581865

Review-Url: https://codereview.chromium.org/2817603003
Cr-Commit-Position: refs/heads/master@{#464862}
(cherry picked from commit aec0f17718b8e13656d7c9f9fe795a0b8066ffcc)

Review-Url: https://codereview.chromium.org/2846213002 .
Cr-Commit-Position: refs/branch-heads/3071@{#288}
Cr-Branched-From: a106f0abbf69dad349d4aaf4bcc4f5d376dd2377-refs/heads/master@{#464641}
11 files changed