SERVER-10177 replace all Js instances of "throw 'string';" with "throw Error();"

Remove all Js instances of "throw 'string';" with "throw Error();"
Includes both the initial patch to remove all throws and patches for all failing tests