enable JaegerMonkey features on mozjs185

closes COUCHDB-1376
also trap SIGINT when running js tests
Avoid badmatch when replicator dbnames have leading slashes.

Closes COUCHDB-317

Patch by Joan Touzet.
add missing dependecies
add another missing dependency.
typo