Make @contextDump output consistent across different environments

Current @contextDump implementation uses value.toString() to stringify functions. That leaves JS engine responsible to decide how it wants to format the function. I'm adding few replace statements that will help make output more consistent across different browsers and JS engines.

Tested in Chrome 31, Firefox 25, Safari 6.0.5, IE10, 9, and 8