Improvements to search, including a contextmanager object that can get results as needed and close index resources on __exit__, and simplified wrapper classes for result, etc.