New lua kernel

*** Experimental, no merge please ***

See here for description: http://forums.wesnoth.org/viewtopic.php?f=2&t=40934