Debian: Fix processing of static devices.

If there was no new line between interface definitions
the previous logic would have skipped defining the interfaces
with XAPI

Also fix ordering of interfaces_to_reconfigure
Merge pull request #54 from BobBall/debian-static

Debian: Fix processing of static devices.