ai_helper: use print_ts(...) instead of print(..., os.clock())
test_lua_template.lua: use wesnoth.get_time_stamp() instead of os.clock()