Added batch function

Conflicts:
	src/main/java/com/algolia/search/saas/Index.java
Copy java tests
Trying travis