Handle empty response for paging + code-cleanup (http shortcut methods + $q.when)
Merge pull request #387 from karma-exchange-org/code-cleanup

Handle empty response for paging + code-cleanup (http shortcut methods + $q.when)