cubicweb #3105815 [js] enhance logging facility [in-progress]

As of today, the cw.log implementation sometimes hides useful information.

In modern browsers, logging object directly allows to inspect them.
When doing "args.join(' ')" one actually forbids debugger inspectability.

Before:

TypeError: $input.closest(...).attr(...) is undefined

After:

[ TypeError: $input.closest(...).attr(...) is undefined
var targetid = $input.closest('form').attr('id').slice(0,-4);
]

I can't show it there (barring a screenshot) but the second line is clickable and leads to the right script line in the debugger. Very useful !

priorityimportant
typeenhancement
done in<not specified>
load0.100
load left0.100
closed by<not specified>
patch[js] cw.log: give the args as is to the console.log function [folded]