Made all resource details DAOs (nic_details, user_vm_details, template_details, volume_details, service_offering_details) extend from the same base class as although details are being stored in diff tables, those tables have the same structure and same accessors.
Resource details: added way of generic access of resource DAO based on the resourceType passed in (was hardcoded before)