Bug 1039521 - nsTArray: Add an AppendElement take taking a r-value reference. r=froydnj

This lets us store UniquePtr's in nsTArrays

--HG--
extra : rebase_source : d7ea9ef710bd2451d0e2e9ba1aaefa9559315875