unpickler: Fix object referencing edge-cases

We were not tracking every object type for which jsonpickle
emits reference ID tags.  Specifically, objects whose classes
are not importable would cause failures when restoring objects.
Make a reference so that the object is properly restored.

Signed-off-by: David Aguilar <davvid@gmail.com>