basicfuncs-plus: Added padding template function.

Padding template function extends a string to a specified
width with prepending specified characters. The default
padding character is ' '(space).

For example:
$(padding $MESSAGE 10 X): bar -> XXXXXXXbar
$(padding $MESSAGE 10 foo): bar -> foofoofbar