8044638: Tidy up Nashorn codebase for code standardsReviewed-by: lagergren, sundar
8019947: inherited property invalidation does not work with two globals in same contextReviewed-by: jlaskey, lagergren, hannesw, attila