Make JsonNode implement all of .isXxx() methods

Part of one of the "tree implementations" which I have here.

The design is very simple: add an enum for all node types, make all JsonNode instances have a member of it, and make .isXxx() implementations use it.