Add xapi toolstack and a set of dependent libraries and services

In future some of these packages should be further split into more separately-reusable libraries.