Rename hostsfile_path method

Rename the hostsfile_path method to get_hostsfile_path, and replace
references to the method with the variable @hostsfile_path
Add windows support

Adding a platform check and returning the windows path when appropriate.
Clean up Windows support
- Use value_for_platform instead of conditions
- Use ohai data instead of ENV
- Add specs and travis support