Fix the insane handling of the layer2 parameter. Just use the 0 or 1 that the kernel understands.
Fix for bnc#855696
- Only ask if DHCP is to be used for Layer 2 interfaces.
- If a inteface is already defined, check sysfs to find out
  if it is layer 2 or not and set config.hwp.layer2 accordingly.
Move check for config.hwp.layer2 to the correct line.
Adjust the branch to match the current master.
Merge pull request #8 from openSUSE/layer2test

Layer2test