avoid HOME envvar `os.path.expanduser()` bug

This can cause incorrect Cheshire3 server config paths etc. when starting
uWSGI emperor as root.

For more info see:
https://code.google.com/p/modwsgi/wiki/ApplicationIssues#User_HOME_Environment_Variable
deal with empty title in search results