String encapsulation for improved translation

A quick update: I decided to simply check what Qt does. All the tutorials are about making GUIs, so I just kinda threw together your standard hello world type thing with some Qt in there and it worked.

`qstring-test.cpp`:
```cpp
#include <QtCore>
#include <iostream>

int main()
{
        QString str;
        str = "%2 %1 %2 %%2 \%2\n";
        str = str.arg("world", "hello");

        std::string stdstr = str.toStdString();

        std::cout<<stdstr;
        return 0;
}
```
Output:
```
$ ./qstring-test 
hello world hello %hello hello
```
I think I like my proposal of `[^%]%[1-9][0-9]?` better. >_>

Anyway, I whipped up this quick proposal function in order to work toward an actual implementation. I was really confused for a couple of minutes there because apparently Lua uses some kind of custom expressions.
```lua
local util = {}

function util.template(str, vars)
    -- Allow replace_vars{str, vars} syntax as well as replace_vars(str, {vars})
    if not vars then
        vars = str
        str = vars[1]
    end
    return (string.gsub(str, "%%[1-9][0-9]?", -- not regular expressions http://www.lua.org/pil/20.2.html
      function(i)
          if i ~= nil then
              i = string.sub(i, 2) + 1
              return vars[i]
          end
      end))
end

name = "Name"
company = "Company"

-- Example:
output = util.template{
    "Hello %1, welcome to %2. You are %1.",
    name,
    company
}

print(output)
```