Revert "Merge pull request #6287 from risaacson/fix_hash_in_var"

This reverts commit a80828745167b38065bbc3b14d615f1c3c225e5d, reversing
changes made to 6129ea7566ffd8113b2038076d4d1550cd6383a4.
Fixes #6077 decode escaped newline characters in content for the copy module
Allow escaped comments in inventory files.
Micro-optimization of inventory.expand_hosts.detect_range
Micro-optimization: replace s.find(x)!=-1 with x in s

timeit shows a speedup of ~3x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
hostname module: don't filter hostnamectl with awk

There's no need to filter hostnamectl's output with awk because its man
page says:

    hostnamectl [OPTIONS...] {COMMAND}

       --static, --transient, --pretty
	   If status is used (or no explicit command is given) and one
	   of those fields is given, hostnamectl will print out just
           this selected hostname.

E.g. hostnamectl --static status => ansible.example.org