Add support for connection type in ansible_hosts file

This enables support for a variable `ansible_connection` in the hosts file, which allows setting a per-host connection type. For example:

    [hosts]
    localhost ansible_connection=local
    host1
    host2

I find it useful to manage servers and my local laptop (which doesn't run an SSH server) with the same set of playbooks in one run.