refactor QgsLogger and add duration and thread id
parse embedded project only once (speedups loading of multiple embedded layers from the same project)