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

minor changes for more const methods