jint - array indexOf

from the mailing list:
https://groups.google.com/forum/#!topic/ravendb/yXM9gsyN2Y4
Merge branch '2.5' of https://github.com/kijanawoodard/ravendb
Updating the jint binary
Avoid NRE
Slightly more robust range computation
Fixing test
Making sure we actually generate errors for reduces containing Average/Count using method syntax
Adding passing test