Optimized code to prepare NAT commands.

Only walk path if some device between src and dst needs NAT commands
to be created.
Merge branch 'master' of https://github.com/hknutzen/Netspoc