[agent] inspectValue refactor

Agent IIFE
Recognizes jQuery elements
A few consistency updates and one perf update. I moved the isKnownType check from the top of inspect() into the array option as that's the only case for it.
[agent] Refactor inspectValue

+ re-use typeOf checks for object props
+ extract formatters from inspect