Improve validation of group and group_level view parameters.

Jira: COUCH-2824

Parameters group and group_level currently were
overriding each other such that last one in the list "won".

Currently behavior has changed such that :

  * group_level overrides group parameter if both are set
  * but if group=false and group_level>0, throw 400

That happens regardless of the order of those arguments, or
how many times each one was specified in the parameter list.
5 files changed
tree: f680c3753c2995876efddc8f4b77cb04dd7e87f3
  1. include/
  2. priv/
  3. src/
  4. test/
  5. .travis.yml
  6. LICENSE