lib/simple_json_reader: support for Parser errors too

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: retire the old 'json' module based on libjson0

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: rename simple_json_reader as json::static

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: intro the friendlier to use json::dynamic

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/json: privatly import lexer and parser

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/json: improve doc of the static module
lib/json: intro the main module json.nit

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
migration: update lib and contribs to use ::json

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge branch 'master' into json-reborn
lib: update githup_api to use json::static

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: fix savs of json related tests

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge: Friendlier API to read from Json

As requested by @privat.

I'll fix the contribs according to the test results.

May be improved or to do:
- Reimplement using the AST nodes.
- Make `JsonValue` subclass of `Array` and/or `Map`
- Convert contribs to use json::dynamic

Pull-Request: #444
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>