adding resource reference type - condition resource and condition stage class
modified condition stage view
updated condition stage model to include resource reference
added resource reference xml view
updated test xml and json condition files
updated condition yaml for testing stage resource references