completed device resource reference types
modified device json/xml views
updated test xml and json device files
updated device yaml for testing resource references