Preview for non-objects, objects, DOM nodes, array, errors, sets and maps

Follow-up PR for #103. Should address all review comments.
@past @jlongster : care to take a final look?

Note that there are still other objects for which we can make the preview better, but this PR should be enough to have the basic mechanism in place and make it very easy to add more previews in the future.