[DevTools] Improved console.copy command to handle JSON.stringifyable objects.

BUG=289348

Review URL: https://codereview.chromium.org/102433002

git-svn-id: svn://svn.chromium.org/blink/trunk@163344 bbb929c8-8fbe-4397-9dbb-9b2b20218538