RPC method modified

* ```rpc_resources.py```  --> code added for fetching the entire metadata of a resource along with its attributes and relations

* Now the format of json which returns by this rpc method is : 
   ``` {resource_document, resource_relation}```

* The reason for including the resource_relation is "to parse the relation set from ObjectId  -> resource_name". because from ObjectId user will not get clear idea of what resource is attached using relation. This is easy to represent.