Ad-hoc params instead of just $page and $per_page

The getTasks method only allowed for a $page and $per_page params.
This allows the other params (filters, from_time, to_time) without
changing the public API in an incompatible way.