Fix page search index

This change fixes some troubles in the search index:
- converts &nbsp; to spaces
- converts some others html entities to text
Add decodeEntities method to TextHelper
Merge pull request #979 from mlocati/patch-67

Fix page search index