8044638: Tidy up Nashorn codebase for code standardsReviewed-by: lagergren, sundar
8017046: Cannot assign undefined to a function argument if the function uses arguments objectReviewed-by: hannesw