refactor(API): Test and fix shared serialization code
feat(API): Paginate Machines resource
chore(fmt): gofmt client/http.go
fix(test): Run gofmt on client pkg
fix(API): Handle failed binary decode
test(API): Correct wording in test failure messages
test(API): Actually check for error nilness
Merge pull request #547 from bcwaldon/API-pagination

API, pt II: Pagination