Added /etc/host check for empty lines
Inline comment spacing violated pep8, removed comment as it added little
More concise fix for empty /etc/hosts line check
Run windows specific code on windows only!
Add test for salt.config.get_id() when /etc/hosts is parsed

This is a WIP, the mocking isn't quite working yet.
Test is now fixed.
Add more get_id tests + some DRY fixes
Tweaks to get tests running and passing on 2014.1 branch
Add comment about importance of empty line
Remove extraneous UTF8 coding line
Merge pull request #10730 from terminalmage/tests-2014.1

Fix for minion_id detection regression + unit tests (2014.1 branch)