Refactor: Move privilege_test.cc to modern JSON
Refactor: Move privilege_test.cc to modern JSON

The next patch will change the internal parser to use
nlohmann::json, but the change is made in its own patch to avoid
changing both how we generate the JSON in the test and how we parse
it (to reduce the likelihood of introducing a regression)

In addition the unit tests was split into one just calling
the constructor and verifying the actual object created, and
one parsing multiple entries.

Change-Id: Ib5442595027710927556173ce04aac7e96608a1b
Reviewed-on: http://review.couchbase.org/99524
Tested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
Reviewed-by: Dave Rigby <a09264da4832c7ff1d3bf1608a19f4b870f93750@couchbase.com>

daverigby/kv_engine,daverigby/kv_engine,daverigby/kv_engine,daverigby/kv_engine