Modify lua function find_cost_map

- Add optin to use current moves instead of max_moves.
- Output a quadrupple
- Optional table for a standart location filter