Rename lua sources from .c to .cpp

Clang has deprecated compiling files with a '.c' extension in C++ mode.
Update projectfiles