Add batch support for the client side. #10

//cc @dodev @lemmy-
There is a little hack. Batch method needs an api to execute other API methods, so I had to pass the pointer to API instance. I don't show this in documentation page because it's a internal thing.