fixes yihui/knitr#824: should not record plots when the device has changed, e.g. when a new device is opened, or the current device is closed
no period in title
add a news item and bump version