Made generate_rpc_templates add a version number to the serialize macro it emits.  Made it call fun with std::move arguments.