Replace startAsMaster with a more general "Placement method"

This includes the ability to let kwin decide where to put the window