add bindings for map_location functions to the lua kernel base

I mainly want to use this for random map generators, it would be
silly to rewrite this stuff in lua after we already have it in C++
(and unit tested there).
Merge branch 'master' of https://github.com/wesnoth/wesnoth