[Bugfix Beta] detect if we can use toString to analyze functions

In some modes platforms like PS3 + FireFox OS will discard these sources to save on memory. Instead we will opt into this perf only after we detect the ability.
Merge pull request #5621 from stefanpenner/give-method-super-to-string

[Bugfix Beta] detect if we can use toString to analyze functions