Fix river api

This fix should close #18.
Client `putRiver`, `getRiver` and `deleteRiver` methods are created using the `wrapIndexMethod` helper: this results in Index methods being called without the name parameter. Using `wrapStaticIndexMethod` solved the problem.