Original commit: elastic/x-pack-elasticsearch@b106bde2f0
Make the projects more like the rest of Elasticsearch: * Move integration tests from `itest` to `test` * Make a build file per sql subproject * Make sql work properly with elasticsearch-extra Original commit: elastic/x-pack-elasticsearch@6fbb794f68
Original commit: elastic/x-pack-elasticsearch@46c476c364