Added hg module to the core.
Merge remote-tracking branch 'upstream/devel' into devel

Conflicts:
	library/hg
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
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
Merge pull request #1948 from yeukhon/devel

hg module cleaned up
 * Added support for multi-line key files.
 * Minor removal of some dumb I did.
Integrate upstream changes from Portfile that exists in macports

See this post - https://groups.google.com/forum/?fromgroups=#!topic/ansible-project/7xdC0MP9MjM

I was not aware that blair had uploaded a portfile to macports already,
this set of changes makes the 'devel' version of the portfile similar
to the upstream. Except the man pages, examples and sample config files.
Make template_ds the only templater

Instead of having to remember when to use which one, rename template_ds
to template and move the last bit of code from template to varReplace
(which gets used for all string replacements, in the end).

This means that you can template any data type without worrying about
whether it's a string or not, and the right thing will happen.
Create Play objects for --list-hosts to mimic actual behaviour

This makes --list-hosts work more like actually running the playbook,
and thus gets the correct hosts with regard to includes and similar.

Fixes #1959.
sysctl was added in 1.0

Fixes #1972.
Merge pull request #1974 from jcftang/devel

Integrate upstream changes from Portfile that exists in macports
Merge pull request #1970 from piffey/devel

Devel
Add on_import_for_host callback from non-list case
Split PATH on os.pathsep, that is what it's there for
Use module.get_bin_path for pkgin module instead of hardcoding paths
This implements a basic --check mode which for now is only implemented on template & copy operations.  More detail will be shared with the list
shortly.