Fixed a bug when null pointer passed to C_F_STR.
Added a cast to double precision in lua_pushinteger.
Added flua_getmetatable.