Occur with isearch

This makes a new command available when in isearch (by default it is assigned to Ctrl-o) to filter the lines of the current session by the active search term (occur). See #1314.