Add a setting to maintain a global func hash map.

This makes it easier to deal with functions that have a common
implementation between multiple games, e.g. libc funcs.
Use a common func to generate default func names.
Merge pull request #4734 from unknownbrackets/debugger

Add a setting to maintain a global func hash map