plugin: add grn_proc get a variable API

New functions:

  * grn_plugin_proc_get_var()
  * grn_plugin_proc_get_var_by_offset()
Merge pull request #170 from naoa/add-plugin-grn_proc-get-var

plugin: add grn_proc get a variable API

Patch by Naoya Murakami. Thanks!!!