string.format and templated translations

Added support for templated translations using the .NET syntax
placeholders {0} ... {n}.
Also added a prototype for string.format(STRING, REPLACEMENTS ...)