further modification of url to to be more RESTful. removed '/todos' in the beginning.
moved the bulk index function into the search client.
on 'data' is unnecessary here.
the search endpoint now properly aggregates search results and out put it in nice array of objects.
Clean up: improved URL scheme, removed index creation route since now its in a bin command.
changed url scheme to match server. added test for search route.