Add initial unit tests for module.run state function
Added another test to module.run state unit tests
Remove debugging lines
Better error messages for failed dns resolution
Merge pull request #16938 from cachedout/issue_10466

Better error messages for failed dns resolution
Merge pull request #16942 from rallytime/module_state_tests

Added unit tests for module state
Merge remote-tracking branch 'upstream/2014.7' into develop