Adding a wait loop to ec2_elb for the initial lb state when registering

Fixes #5305
Fix respecting remote_tmp when sudo is used
Create the tempdir in the accelerate module if it doesn't exist

Fixes #6047
MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value
Fix link in documentation

c(dest) -> c(path)
tags lists are properly uniqued and joined now, also avoids type issues when passed as list/set or strings

Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
Don't use keyword `error` in encode
This is not supported in Python 2.6. Just use positional arguments.
fixed another line with same issues

Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
Merge pull request #6311 from bcoca/tag_sets_fix

tags lists are properly uniqued and joined now
Un-escape newlines in delimiters for assemble module
Merge pull request #6313 from phenomenes/msg-encoding-fix

Don't use keyword `error` in encode
Merge pull request #6308 from muffl0n/file_fix_documentation

Module "file": Fix link to "path" in documentation
Merge pull request #6305 from amree/fix-mysql-replication-port

Fixed SQL syntax error when running mysql_replication module
Typo
Fixes related to uncommenting test_dir_inventory in TestInventory.

0. Uncomment the test.
1. Test fails.
2. Make vars unique per file in test inventory files.
3. Modify token addition to not ast.literal_eval(v) a variable containing a hash.
4. Modify vars to have an escape in test inventory file.
5. Catch exceptions explicitly. Any unknown exceptions should be a bug.
6. Test passes.
Merge pull request #6317 from l0neranger/devel

Typo
Fix logic checking for both sudo and su, and their respective users
Fix test_async by using env python
add test same host in different files in dir

tests issue #5749
 same host defined in different groups which in turn are defined
 in different ini files in an inventory directory

Conflicts:
	test/units/TestInventory.py
modifed test to use get_hosts instead of get_groups

closes #5749

Conflicts:
	test/units/TestInventory.py