You would have to follow one of the many xenon retrofit threads on here. For full functionality like you're describing I'd follow the one that Archbid just did, as I don't think that anyone else has bothered with the leveling before. Otherwise you would need to just add wiring to trigger the bixenon shutters for high beam operation and settle for your lights being fixed with no level adjustment.
The ballast and ignitor are part of the headlight assembly and the connections are the same as the ones for halogen lamps, minor coding is required to prevent the xenons flickering. They'll function like this, as simple as physically swapping the lamps, but you won't have high beams until you either code the LCM to use the flash to pass lights as high beam (I recommend this anyway) and/or add the wires to trigger the bixenon shutters. Adding the leveling wiring is a lot more involved and only needed if you want to get really fancy.