Add bool type support

At the moment, if you pass a boolean in Lua/C++, it returns a Lua error: "number expected, got boolean".

The following pull request fixes this issue by adding bools type in StackTemplates.