Fixed #grape_documentation issue, added integration tests

/cc @ciniglio @sshillo 

- #grape_documentation no longer uses the type: key, because grape raised an
  exception when scalar values were parameterized as arrays (id[]=1&id[]=2)
- Added integration tests
  - Fixed a couple of issues regarding integration with grape