Interfacing Lua With Templates in C++11