Use configured version of npm to build the js driver

Review 786 by @mlucy
Closes #1204
Python driver build: do not require an optional file

Review 787 by @srh
Closes #1215
Merge branch 'next' into sam_unittest_valgrind