Bug 941296 - Add wrappers for system CoreMedia framework. r=cpeace,ted

We always build on at least 10.7, but releases target the 10.6 SDK
which doesn't provide the CoreMedia framework. Rather than write
our own headers for the considerably more symbols we need here than
for VideoToolbox, just proxy-include the system framework.
Bug 941296 - AAC platform decoder for OS X. r=edwin,cpearce

Implement an AAC decoder based on the AudioToolbox wrapper
in AppleMP3Decoder.
Bug 1043695 - Fix type conversion errors on 32-bit MacOS. r=cpearce

UInt32 is an unsigned long on i686 while uint32_t is an unsigned int.
The compiler can't covert from a pointer to one to the pointer to
the other, so just use the MacOS type.

There's no problem on 64-bit.
Bug 941296 - Enable FMP4 when APPLEMEDIA is enabled. r=cpearce,ted

This requires moving the MOZ_APPLEMEDIA define. I put it in
alphabetical order with the other platform decoder checks.

Also removes the --disable-apple-media configure switch.
We don't have proper testing for these options, so it's
better not to offer the choice.
Bug 1043695 - Wrap FrameRef in an nsAutoPtr. r=cpearce

Everything else auto-releases, might as well do this too.
Bug 1043695 - Log output frame metadata. r=cpearce

Also cleans up the input sample log so they're easier to compare.
Bug 1043695 - Try passing zero for DTS instead of PTS. r=cpearce

Suggestion from ajones to make it fail more obviously if the lack
of DTS values causes a problem. Doesn't seem to make a difference.
Bug 1043695 - Add a frame reorder queue. r=cpearce

This fixes the frame drops on test.mp4. For now it just
assumes a reorder depth of 3, but we need to plumb the
actual value through the demuxer.

Based on now-removed code from Edwin's FFmpegH264Decoder.
Bug 1043695 - Fix warnings from debug-only code. r=cpearce

These reported as unused variable warnings in non-debug builds.
Bug 1043695 - Fix comment formatting. r=cpearce