refactor main.cpp
Merge branch 'master' of https://github.com/minetest/minetest.git
Merge branch 'master' of https://github.com/minetest/minetest.git
Fix regression with command line --go option
Update minetest.po (Japanese)
Improve Lua API documentation

Changes:
  * Add extra documentation for remove_item.

    This isn't as silly as it sounds: iterate a list containing items with
    unique metadata each, and remove_item the first one you find, placing
    into a different - fine, except the remove will invariably remove the
    wrong one, leading to items being duplicated and others destroyed.

    Arguably it's a bug, and Inventory::removeItem should actually remove
    the item you tell it to. (i.e. if the passed ItemStack has metadata,
    match it). But it seems reasonable to just document the behaviour
    more clearly.

 * Improve string_to_pos documentation.
 * Clarify dig_node documentation (return value).
 * Better on_step documentation.
 * get_nodemeta -> get_meta.
 * Other minor fixes.
Fix MSVC compiling error (argc/argv not available to pass to init_gettext)

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
Merge branch 'master' of https://github.com/Zeno-/minetest.git
Merge branch 'master' of https://github.com/minetest/minetest.git
Create CoreSettings and use them for most instance that will improve client performance
Update most time-critical (expensive) functions to use g_core_settings