Switch module safe_eval to ast.literal_eval
Fixing newline escapes in lineinfile

Fixes #5679
Merge branch 'module_safe_eval' into fix_lineinfile_newlines
Merge branch 'issue_5679_lineinfile' into fix_lineinfile_newlines
Exclude ps1 modules from the TestModules unittest

Fixes #7864
Merge branch 'fix_lineinfile_newlines' into devel
Merge branch 'devel' of https://github.com/ansible/ansible into devel