plugin: add grn_proc get a variable API

New functions:

  * grn_plugin_proc_get_var()
  * grn_plugin_proc_get_var_by_offset()

refs [[groonga-dev,02333]](http://sourceforge.jp/projects/groonga/lists/archive/dev/2014-May/002335.html)