Added "pagination" support for projects api call

Fixes having more than 100 projects.