Cleanup Redofile and add support for custom install paths with DESTDIR
Add filepath.c, refactor out parse_shebang() and rewrite most of the error checking code to use predefined error macros