Change name of pat_alias to is_pat_alias as it is a boolean function
Fix handling of default path for DESTBINDIR
Rewrite installing and running REPL for case when not using lfetool