add -insecure flag and relevant tests
Merge pull request #1478 from jpetazzo/929-insecure-flag

add -privileged flag and relevant tests, docs, and examples