Adjust automatic filetype detection to work better with uninstall scripts.
Correctly detects (scripts.uninstall).
Added special case for uninstall scripts added in the scripts directory (scripts/uninstall.*) Now install them as both script and uninstall.