Issue #1841 part 1 - console_scripts for ansible

In this commit I moved the scripts code from outside ansible inside, so that:
1) it can be called by console_scripts
2) it can be called by outside (legacy) scripts, as before.

For easy diff, I will continue this is other commits
Issue #1841 part 2 - new scripts that ansible.scripts without code duplication
Issue #1841 part 3 changing __name__ call in the new scripts to entry_point

this is the last piece