Switch open calls to our fopen call which sets `CLOEXEC` on the fd.
Added `salt.utils.mkstemp()` as a helper.

Will ease the use of `fd_, fpath = tempfile.mkstemp(); os.close(fd_)`.
Also switch cron to `salt.utils.mkstemp()`.
Added `salt.utils.mkstemp()` as a helper.

Will ease the use of `fd_, fpath = tempfile.mkstemp(); os.close(fd_)`.
Add missing import.
Remove unused import.
Add required `close_fd=False` to keep the `fd` open.
Fixed typo in the raw outputter
Re-add required import.
Add check for existing state runs to state execution module
Merge pull request #2547 from s0undt3ch/cherry-pick/mkstemp

mkstemp helper
Merge branch 'develop' of github.com:saltstack/salt into cherry-pick/CLOEXEC
All outputters must return strings
Re-add required import.
add logrotate support file
update current status
Updated docs for new pipelined renderers
Added/updated docs on new/changed execution modules
Fixed rST syntax

A definition list cannot have two terms (unlike the similar Sphinx
glossary directive).
Added docs for new state modules