Fixed issues with device listing params and calling next_page on apids.
Merge branch 'master' of https://github.com/anthonator/dirigible