Initial code to read a btree of 'device_details' records

Signed-off-by: David Scott <dave.scott@eu.citrix.com>