Bug 864544 - Make HTMLMediaElement::mPlayed a cycle collected nsRefPtr. r=cpearce,smaug

The current code is safe, but brittle. Making this explicitly
refcounted and traced protects against future code changes.