add check mode support

Could it be that easy or do I have missed something?
removed typo
typo
apt: pass child process stdout and stdout to m.fail_json() and m.exit_json().

Without this, this fails:

    - name: apt-get dist-upgrade
      action: apt upgrade=dist
      register: apt_get_contents

    - name: apt-get clean
      action: command apt-get clean
      when: apt_get_contents.stdout.find("0 upgraded") == -1

TASK: [apt-get clean] *********************************************************

fatal: [192.168.2.2] => error while evaluating conditional: {% if apt_get_contents.stdout.find("0 upgraded") == -1 %} True {% else %} False {% endif %}

FATAL: all hosts have already failed -- aborting
apt: do not consider not-removed and not-upgraded packages as changes.

If one pins a package and does a 'apt-get dist-upgrade' then the
output looks like:

    # apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    The following packages have been kept back:
      cassandra
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

The check for any changes made should only be on the 'upgraded' and
'newly installed' values and not include the 'to remove' and 'not
upgraded' values.
Enforce umask for cron module, so cron_file generated files are 0644.

Certain cron implementations get cranky if files in cron.* are group
writable.
apt: autoinstall python-apt if not available
now assemble module is also action plugin and can use local source for
files
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Remove commented code block
Add char parameter to password lookup plugin docs on docsite
Merge pull request #4304 from ferringb/fixes/cron-permissions

Enforce umask for cron module, so cron_file generated files are 0644.
Merge pull request #4286 from blair/ansible

apt: do not consider not-removed and not-upgraded packages as changes.
Merge pull request #4617 from resmo/feature/python-apt

apt: autoinstall python-apt if apt or apt_pkg is not available
Merge pull request #4285 from blair/apt-module-register-stdout-stderr

apt: pass child process stdout and stdout to m.fail_json() and m.exit_js...
Address #4285 remove redundant stderr output in apt module
Merge pull request #4245 from abelbabel/patch-1

add check mode support to pkgng module
Fixes #4877 set type to bool for cache parameter in apt module
Add more error detail to the service module for FreeBSD
Fix typos in docsite password lookup section
Addresses #4628 evaluate package check return properly and exit failure if not present