Link creation was present in three places:
- Inside template pagetemplate.html
- Inside KJotsLinkDialog, the dialog to add links
- Inside KJotsBookmarks
Unify it inside KJotsModel: provide a UrlRole for QModelIndex::data.
Provide an url property for KJotsEntity, so it could also be used in templates.
Link handling was also duplicated in two places:
- Inside KJotsBookmarks
- Inside KJotsBrowser
Unify it too, so both classes emit a signal with QUrl property, which is then caught by KJotsWidget
(which actually gets the job done)