Fix bonding mode setting

- Use the right attribute for getting the bonding mode
- Update the bond if the bonding mode changes
Merge pull request #286 from rhafer/bond-mode

Fix bonding mode setting