make a common rpc module, all others can/will inherit from this one
let the VM module inherit from the RPC module
introduce _onerpc and _onerpcsimple
rewite VM.pm with operpc and onerpc simple, including factory for most
actions
Merge branch 'vm_name' of github.com:stdweird/p5-net-opennebula into easy_rpc
add more function to common RPC class
remove more common code
inherit from RPC
inherit from RPC
use correct name _onerpc_simple
Merge pull request #3 from stdweird/easy_rpc

Also merged. Thanks a lot for all your code. Maybe we can also consider to switch to Moo or Moose for the oop things.

The first intention was to have less dependencies, but Moose is also available in epel and for opennebula you also need to use epel module. So it should be easy to use it.

Make a parent RPC class and use it