rewrite search() method.
test the case when we have a uri param.
rewrite most of the methods.
Merge branch 'master' of github.com:gugod/Elastijk