improve multiversion install script, now works with python 2.6
SERVER-8849 read_pref.js failure in RHEL-64bit

Make sure primary node does not change during the entire test.
SERVER-8832: do not convert javascript properties in prototype chain
SERVER-8828: replace verify() with assert() in spidermonkey startup tests
SERVER-8827: fix SpiderMonkey function cache map