Changes Query.hasMoreThan to take a long instead of int to be more consistent with select APIs.
Merge branch 'release/2.0'