Port the device mode demos to the XMEGA architecture where applicable.
Add missing project dependencies.