Added support for JSON.NET's "$type" pseudo-key.

(With corresponding new unit test)