bz19849: fixed some device info code

Changed ItemInfo.device from always being None to being a boolean
that's True for device items.

Fixed code to show the copy to miro button on listview.