Removed usage of RefPtr::Release in unit tests

Replaced with std::move wraps where move is not automatic. Removed call
to Release where move is automatic (i.e. returning local RefPtr object)

As PassRefPtr is still in use this introduces implicit conversions from
RefPtr to PassRefPtr. Future patches will change the PassRefPtr
nstances to RefPtr.

BUG=494719
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng

Review-Url: https://codereview.chromium.org/2956583002
Cr-Commit-Position: refs/heads/master@{#482177}
10 files changed