add SearchResult test
refactored search-result extraction code and added easy accessor for highlights in search hits - resolves #63