Consistent callback style for Pulsar.getAvailableTasks.
Replace next.ifError with an old-school error handling.
Merge branch 'issue-31' into issue-32