8044638: Tidy up Nashorn codebase for code standardsReviewed-by: lagergren, sundar
8020325: static property does not work on accessible, public classesReviewed-by: attila, hannesw, lagergren