Introduce time.Duration in Profiler function signature.
Add support to query_only and application_id pragmas.