Added hg module to the core.
Correct python module name for jinja2
This standardizes the apt_key module some

* improves error handling and reporting
* uses run_command to reduce code
* fails quicker on errors as opposed to return codes and tracebacks
* can now also specify the key as data versus needing to wget it from a file
Get output before receiving return code

Fixes hangs observed with large amounts of output, as it would get into
a dead-lock.
Merge remote-tracking branch 'upstream/devel' into devel

Conflicts:
	library/hg
If failed lookups are fatal, re-raise the exception

Fixes #1938.
proper bin path now called
Merge pull request #1939 from diefans/devel

proper bin path now called
Fix get_url to work on Python 2.4
Rewrote hg module based on feedback.

1. state option is removed
2. force is hg update -C
3. purge is hg clean/hg purge but default to no
4. relies on hg abililty to handle errors
- make extra-vars override all other vars and facts in playbooks
Only inventory "running" EC2 instances. "stopped" is also a valid state and these should not be inventoried.
Merge pull request #1946 from tgerla/devel

Only inventory "running" EC2 instances. "stopped" is also a valid state ...
Use %s instead of .format for string replacement. Revisied the documentation.
Changes is now determined by simply comparing before,after and cleaned (purge and/or force). Doc is updated.
Merge remote-tracking branch 'upstream/devel' into devel
stop updating SETUP_CACHE in run_play as per comment on pr 1945
Merge pull request #1945 from skvidal/extravars

- make extra-vars override all other vars and facts in playbooks
Update packaging/arch/PKGBUILD

Removes python2-json dependancy which is not required on Arch (python 2.7)
Fix error format for invalid vars_files