App loader avoids Tcl 8.6 commands

The app loader template has been updated to avoid using commands
associated with recent versions of Tcl (e.g., try and throw).  It
should work with Tcl 8.4 and 8.5, and possibly earlier versions.