Add normalize option to text_snippet_from_selection_results, html_snippet_from_selection_results
Improve paginate. Extract page_range function.
Typo pagenate -> paginate
Refactoring