Fixes #8005 - Convert allowed NIC types to strings

@tstrachota could you please check? If you use zeus you can reproduce the autoloading issue by running
```
zeus test test/functional/unattended_controller_test.rb
```
does it make sense not to expose "NIC::.." in the API, and rather pass type = bond, managed etc?