Make all string/bytes-returning functions use 'static

Returning a string/bytes that's borrowed from the lua::State isn't very
uesful, because types with destructors in lua_CFunctions are unsafe (as
longjmp will skip the destructor). To that end, make all the
string/bytes-returning functions return values with the 'static
lifetime, and mark them unsafe.