[opennebula] flavor: fixed get_vcpu and get_memory; added tests