[sailfish-browser] fix file upload prompt
Merge pull request #92 from veskuh/fix-upload

[sailfish-browser] fix file upload prompt
Fix title update to update title for the correct link
Add unit tests for tab model reloading

- updateInvalidUrls doesn't need to write invalid title to the database.
  That was causing url to be wrong in cases after this one.
- updateValidUrls and updateTitle need to wait url to be
  written to the database.
Merge pull request #94 from rainemak/addTabModelReloadTests

Add tab model reload tests
Write thumbnails to database by tab id

Previous url based tab thumbnail update caused thumbnail changes
for the non active tabs that had the same url as the active tab.
Prepare updateThumbnail query once
Add initial dbmanager unit tests