add param api, for use version apis

Add param api for use multi version elasticsearch
* 1 - 1.0.x
* 0 - 0.90.x