Add get_mimetype() for re-usable mimetype extraction, and define IN_MIMETYPE and OUT_MIMETYPE to avoid erroneous mimetypes when converting gifs
Correct grammar in comment above is_available()
Remove -r option in rm since there's no longer a temporary directory being made during converting
Fix <head> to </head> to make it enclosing in the HTML template