Merge M4A with FireArrow5's code

Merge Mega for All's code with FireArrow5's repository with his
permission: https://github.com/FireArrow5/Megas-For-All