Fix a bug that kaminari doesn't work with nested param_name

fixes #53 but this bug still appears when kaminari is used on sinatra.
Ruby 1.8.7 doesn't like the new hash syntax...