Revert "bz18863: Don't create display until we really need to show it."

This reverts commit d8bc1d5b37959f80b2f503d2bafe11842376e7d9.  It's an efficiency
speedup, but it's causing the widths of views to be calculated incorrectly.
Merge pull request #334 from paulswartz/bz19019

Revert "bz18863: Don't create display until we really need to show it."
bz19020. localize "Close" button on GTK
add a couple new phones

* HTC Sensation
* HTC EVO 3D
bz19071: better debugging to figure out this problem.

This change definitely won't fix the bug, but it does help improve logging in
2 ways:
  - Added extra info when we call failed_soft()
  - Fix for stringify(), which is called by crashreporter so that it doesn't
    escape newlines.  Otherwise reading the log reports is pretty miserable.

I've tested this code by provoking the crash and it seems okay.
Merge pull request #337 from paulswartz/devices-20120423

add a couple new phones
Merge pull request #339 from bendk/debug19071

bz19071: better debugging to figure out this problem.
Merge pull request #336 from paulswartz/bz19020

bz19020. localize "Close" button on GTK
bz19040. some feeds break feedparser's image handling

I didn't actually see this with my version of Feedparser (it's returning a
dictionary with an 'href' key instead), but I can visualize it returning a
Unicode string given some feed.  This code tries to be a bit more careful about
checking the keys (and whether it's looking at a dictionary at all) before
overriding the thumbnail.
Fixed stringify() and its unittest.

My recent change to stringify() made it return unicode objects, which is
definitely wrong.  Added a call to encode afterwards to fix this.  Use the
replace error handler both ways since only that and ignore work for both
decoding and encoding.

Fixed the unittest so it passes.
Merge pull request #338 from paulswartz/bz19040

bz19040. some feeds break feedparser's image handling
Merge pull request #340 from bendk/fixstringify

Fixed stringify() and its unittest.
updating translations from launchpad
updating serial numbers, the update on nightlies is driving me crazy
bz19017: Dispose of our thumbnail pipeline to avoid memory leaks

Before when I put 200 or so videos through movie data miro_helper.exe would
use over 500 megs of virtual memory.  Now it's around 70-80megs.
Merge pull request #341 from bendk/fix19017

bz19017: Dispose of our thumbnail pipeline to avoid memory leaks
bz19032: better debugging for failed SQL statements.

Log errors when our SQL statements fail for errors other than OperationError.
This includes integrity error and others.

Refactored log_error slightly
Merge pull request #342 from bendk/fix19032

bz19032: better debugging for failed SQL statements.
bz19032: metadata fixes for items marked as deleted

If an item is marked as deleted then we delete the metadata entries for it,
however there were 2 bugs with that.

1) The next time we called setup_restore(), we would re-create the metadata
entries.

2) For items deleted with previous versions of miro, our upgrade code would
make metadata entries for it.

Fixed those 2 bugs and also added code to detect this problem and log a
warning instead of crashing.
Merge pull request #343 from bendk/fix19032try2

bz19032: metadata fixes for items marked as deleted