Add method getResourceByName to RPC and CLI
Merge pull request #474 from stavamichal/getResourceByName

Add method getResourceByName to RPC and CLI