Add functions to handle string prefixes and suffixes

Introduces the following functions:
* `hasPrefix $prefix $s`
* `hasSuffix $suffix $s`
* `trimPrefix $prefix $s`
* `trimSuffix $suffix $s`

These call the corresponding `strings.{Has,Trim}*` functions with the arguments flipped to better facilitate function pipelining for template usage (e.g. `$val := split $input $sep | first | trimSuffix $suffix`).
I think it would be better to swap the order for these to match the strings func that is called.