core-5519 core-5579 add save on close support.add icon to menu item
update code-mirror lib to 4.2
core-5579 add refresh to allow individual views to refresh