Updated mkboot script:
-- Compress new ramdisk based on the old ramdisk compression. If gzip then compress as gzip, if lzma then compress as lzma and if lz4 then compress as lz4.

-- Some minor cleanup and cosmetic changes.
Some candy:
-- Added support for xz (statically compiled)
-- Added support for properly determing file type with file (statically compiled)
-- Added support with magic
-- Some minor cosmetic changes to the script
-- Completely rewrote the handling support of ramdisks
-- Added Hazard warning for compression formats currently not supported using this tool (Please contact me if you are one of them)
-- And more I am sure lol
Merge pull request #8 from ModdingMyMind/master

Added some additional support for detecting the ramdisk compression as well as some other things such as a hazard warning if the ramdisk compression is currently not supported eith using the ARM tool.