Cast the retrieved `retries` var to an int before incrementing as it may be in string form.

For example, the following method of calculating the value will result in a type error:

    appstatus_waitfor: 4  # Minutes
    appstatus_delay: 5 # seconds
    appstatus_retries: "{{ mins * 60 / delay }}"
Merge pull request #5212 from tarka/devel

Cast the retrieved `retries` var to an int before incrementing as it may...
Fix issue #5214: hostname persistence on RedHat/CentOS
Fix link to playbooks loops
Merge pull request #5217 from mmoya/docfix

Fix link to playbooks loops
apt: update index before trying to autoinstall python-apt
Merge pull request #5215 from dhml/devel

Fix issue #5214: hostname persistence on RedHat/CentOS
copy ssh.py to ssh_alt.py
Merge pull request #5222 from resmo/fix/apt-update

apt: update index before trying to autoinstall python-apt
Account for instances that have not yet been registered. Fixes #5076
ssh_alt.py / decrease # of ssh roundtrips
Merge pull request #5232 from jsdalton/fix_elb_instance_state_issue

Account for instances that have not yet been registered. Fixes #5076
Update CHANGELOG.md

Fix typo in ANSIBLE_FORCE_COLOR
Merge pull request #5243 from mivor/devel

Fix typo for ANSIBLE_FORCE_COLOR in Changelog
Merge branch 'ansible_ssh_alt' of git://github.com/jeromew/ansible into devel
Revert "ssh_alt.py / decrease # of ssh roundtrips"

This reverts commit 7f8863f96db53144c73dfb79edce5173fa362b35.
Had to revert commits due to async.
Make sure ssh pipes are empty before moving on

Resolves issue #5082

Code as it was would hit a scenario where one of the FDs was not ready for
reading the first time through -- but p.poll() would show the process as
complete. This would cause ansible to continue on, while leaving some content
left in a pipe.

The other scenario -- the one that causes the unclosed quote, is if we go
through select.select() and we do get stdout in the ready for reading -- we
read from it (9000 bytes), but that's not all that is there. Again we'd get to
the p.poll() check and it would be indeed not none, but we would have left some
of stdout on the FD and thus the json blob would be malformed.

Tested with and without full ssh debugging.
Tested with and without ControlPersist
Tested with and without ControlPersist sockets already created
Merge pull request #5254 from j2sol/fix-ssh-missing-quotes

Make sure ssh pipes are empty before moving on
Add ability to specify a VirtualIP ID for sharing a VIP with another LB