Replace __func__ by G_STRLOC in code

Also add G_GNUC_NULL_TERMINATED to vararg kernel functions.
Refactor profile module for improved client queries (in progress)

Code is compiling
Update profiler test for new lib approach/profiler refactor (wip)