Issue 1811: Add prettyName/displayName support to Profiler output and Stacks

Steps to reproduce

  1. Open Firebug and enable the Script panel
  2. Click on this button
  3. The debugger should break at line 14
  4. Switch to the Stack (side) panel

Expected result