lua.lang: added goto and label support

https://bugzilla.gnome.org/show_bug.cgi?id=738879
lua.lang: added mode and metatable methods

And updated Lua's global functions to Lua 5.2.

https://bugzilla.gnome.org/show_bug.cgi?id=738879