Pull all of the logic that we use to skip the `assemble` and `dependenciesInfo` tasks on `qa` projects into one spot in our root build file.
Moves `x-pack/qa/sql/*` into `x-pack/plugin/sql/qa` to make it simpler to run all of the sql tests. This lines up with how newer projects like cross cluster replication are testing themselves.