Merge pull request #147 from shiau/js-explicit-accept-header

Explicit catchall Accept and Content-Type headers.
Version bump
Test for Accept and Content-Type request headers.
Remove trailing whitespace.
Fix failing test.