Add inventory script for Foreman.

The inventory script can be used to build dynamically an inventory by queriying Foreman's API.

We're using [Foreman](http://theforeman.org/) at work to manage our inventory and creating new hosts. This pull request add a script to get the inventory from Foreman for Ansible.