Refactored device renaming.
Refactoring: moved writting of lan items into LanItems
LanItems: Code cleanup
Refactored device renaming writing
Fixed testsuite
Use title style in edit nic name dialogue. bnc#877690