Fix tslint errors
Use the local versions of tools when building passcards

Use the binaries in node_modules/.bin instead of
relying on the same version of the binaries to have already
been installed separately with 'npm install -g'.
Fix HTTP requests with binary responses in the browser.

Set the response type for XHR requests to 'arraybuffer' to ensure
correct delivery of binary data when making HTTP requests in
the browser.

This required working around an issue with XMLHttpRequest.responseType
described in https://github.com/substack/http-browserify/issues/65
Add basic test for Passcards API client