Loosen limits of dependencies

Loosen the version limits of dependencies and enable running on more rubies (adding a Hash#to_params).