add hash and array to params validator
Merge pull request #4 from heroku/params

add hash and array to params validator