Merge pull request #3104 from torhve/virt-fixes

Fix exception when source didn't include file or dev.
Fix bug in environment gathering on the master
Prevent double environments fomr unconfigured interfaces
Fix environment tracking issues and add write lock system
Forgot to set the found flag!
update the master config with fileserver_backend data