CI for device is readable via API

Backwards-compatible hotfix - added a new 'ci' property to device and 'ci' field to device API. This is needed by virtmaker.