Fix get_vcard and set_vcard when using option module_resource (issue #21)