Updated for libav, iOS7, and some cleanup.
Refactored build script.
Cleanup docs.