Add Qt5 support

Add Qt5 support by replacing QUrl with QUrlQuery in Bookmark::streamName().
Also add QInputDialog and QMessageBox to includes in mainwindow.cpp