8044638: Tidy up Nashorn codebase for code standardsReviewed-by: lagergren, sundar
8011365: Array.prototype.join and Array.prototype.toString do not throw TypeError on null, undefinedReviewed-by: attila, hannesw, lagergren