Add UNLICENSE and update README.md.
Add WhiplashCopyFile config command.

Add two utility functions: dirname() and trim().
Also scope all variables and functions.