Refactoring

Eliminate duplicate code and clean up the main files of sailfish (`harbour-ttrss.qml`) and harmattan (`main.qml`).