level up keystone testing script

This fixes some issues with the previous keystone
test script.

1. conditionally requires rubygems in case that is how
puppet is installed
2. installs curl if not installed
3. performs way more queries. so that this can serve as
a reminder to me about how to play with the keystone apis.
Merge pull request #111 from bodepd/level_up_test_script

level up keystone testing script
Removed last ,
Merge pull request #112 from FlaPer87/master

Removed last , in postgresql.pp
Allow to have différent port for internal and public endpoint
Rescue when the tenantId of the user is not present

In folsom a user could have is default tenant not set.
So rescue when it happend
rescue when description field of a tenant is missing

The description field of a tenant is a optionnal value
so rescue when this field is not present in the tenant-get call
Merge pull request #114 from enovance/sileht/pr/missing_usr_tenant_id

Rescue when the tenantId of the user is not present
Merge pull request #113 from enovance/sileht/pr/tenant_description_missing

rescue when description field of a tenant is missing
Merge pull request #109 from enovance/sileht/pr/internalport

Allow to have different port for internal and public endpoint