Bug 875641: update MediaDB and Gallery to handled SD card removal and sh...

...aring when there is also internal storage