Merge pull request #4918 from techhat/dnsmasq

Be able to add/remove entires to/from /etc/hosts
Adding support for S3 as a fileserver backend
Double check minion paths
Revert "Double check minion paths"

This reverts commit 9a8e076a4ba94a701320d5a2762994845bc1561c.
Add clean_path function to verify.py
Update s3fs.py
Fix clean_path, should not state the paths
Add valid_id to verify that a minion id is valid
Merge pull request #4914 from basepi/managedfix

Convert `contents` to string before writing to temp file
Add minion id validation checks
Add cli example to guestfs.mount
Add examples to mongodn doctrings
Only allow certian ext_pillars to be explicitly called from minions
Change key generation seq
Fix #4912

Clint, this fixes it for me and still logicaly verifies the test
let me know if this works on your end
Fix test where the absence of mock breaks things
error handling when executing war_deployed when the war file is missing
Update reg.py
Merge pull request #4921 from ranl/develop

error handling when executing war_deployed when the war file is missing
Add logs to know what's happening in `salt.utils.which`

* Move logging initialization to the module scope since there's no problem with that now.
* Switch double to single quotes.