RPC: added getAllResourcesState method
Merge pull request #404 from zlamalp/resource

RPC: added getAllResourcesState method