Fix broken vehicle::find_power - use correct part index.
The correct part index is now used when iterating over parts. As a performance improvement, part_info is now called only once (it's heavy). This is mostly noticeable during startup.
Fix out-of-bound vector element access in map::trans.
Added a proper check when looking if a vehicle's opaque door is open.
Merge miscellaneous vehicle fixes.