Add pagination to getTasksStatus

Testing Done:
./gradlew build

Bugs closed: AURORA-521

Reviewed at https://reviews.apache.org/r/22448/