JsonPointer: create a private static builder function

We want to be able to build from a list of tokens, as we'll need to build the
result of "relativized" pointers (ie, build "/c" from "/a/b/c" relatively to
"/a/b").

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>