Make integers come out in client config JSON as integers.

There are places (for example if you pass keepalive/threshold values to
the keepalive check in custom_client) where it matters about the type
of the variable coming from the JSON - Sensu looks for .is_a?(Integer)
and so if you quote the integers in the client config then it breaks.

There is already a to_type method which was replicated in a number of
places - however it wasn't recursive, and (at least in the case of
the client config) you can have a hash of hashes.

I've pulled this method out into a common mixin, and reused it from all
the places which use it currently + added it to the custom= methods
in providers so that things are munged on the way in, and also to the
client_config type to make data comparisions work as expected
Merge pull request #121 from bobtfish/fix_integers_in_output

Make integers come out in JSON as integers.
Moved Gemfile source to HTTPS
Merge pull request #122 from bobtfish/exclude_brackets_from_name

Exclude brackets from check names as this makes sensu barf
Add support to set loglevel
Merge pull request #125 from wleese/master

Add support to set loglevel
module rewrite
Merge pull request #126 from jlambert121/module_rewrite

module rewrite
make travis happy with ruby 1.8.7
Merge pull request #128 from jlambert121/ruby187

make travis happy with ruby 1.8.7
fix trailing comma for 1.8.7
Merge pull request #129 from jlambert121/travis_fix

fix trailing comma for 1.8.7
remove str2bool, add repo_source
replace any2array with validate_array
relax some array checking, handled in the provider
Merge pull request #130 from jlambert121/rem_str2bool

remove str2bool, add repo_source
Added API authentication parameters
documents sensu handler config how to
Allowing sensu user to be created by other means
Merge pull request #132 from jaimegago/handler_conf_doc

documents sensu handler config how to