Support for ifroute

bnc#897394, bnc#866250
this is quite hard to read, maybe better to restate it as
```
write_ret = SCR.Write(path(".ifroute-#{device}"), ifroutes) if !ifroutes.empty?
ret &&= write_ret
```