Fix title case in search result headers

Python's title() function does weird things. We use Django's instead which (for us) does the right thing.