PCT-687: Make working perf schema worker prototype

Also PCT-716: Update QAN config form to support Performance Schema
@helginet If it's wrong, please fix.