make map::move_cost, map::trans, map::has_flag use tripoints as parameter and properly refer to vehicles

minor changes for more const methods

bugfix in map::has_flag_ter_and_furn