QmlProfiler: retrieve the function names when loading a trace

The "displayname" element is something else and not very useful.

Change-Id: I3971de9ea2b042186748099df13076c24aec7bcc
Reviewed-by: Kai Koehne <kai.koehne@digia.com>