adding jsproc tests for overallocation and infinite recursion
fixing comment typos
removing unnecessary catch/rethrow
fixing code style
moving promise_t::pulse out of catch blocks
moving possible cond_t::pulse out of catch blocks
modified js_runner_t to mark workers as errored before releasing, so as to prevent possibly waiting inside a catch block
lower the default number of clients for restore and import (for users with small amounts of RAM)
Merge branch 'next' into sam_1041
Fixed build errors caused by merge from next.