rework media frame protocol and internals of media and view objects to support passing around an AVFrame instance instead of a UIImage, update test cases and fixup comments