Fixed AutoYast Import() and Write()

- bnc#898659
- Imported zones were not written to the system as they were not marked as 'modified'
- Directory /etc/named.d/ was used even if it didn't exist
- The whole named.conf was rewritten from scratch as Yast thought that something has changed that file while Yast was running
If the array is called `@zones` then the element iterating the array should be called `$zone` or `$z`, shouldn't it? But the main issue for me is to avoid C style iterators.