Support strings as format/2 template functions

Now that SWI V7 makes string objects more common, support them as
functions.
Release v0.4.0