Put qt util functions in their own header
I'm about to add a cpp only plugin so it is better to split it out.
This also adds isElevated to W32 util.