Improved API errors handling

Conflicts:
	src/main/java/com/algolia/search/saas/APIClient.java