Bug 1066492 - [dolphin][FTU]interruption of power supply before choosing...

... language in ftu when reset phone,buttons in dockbar and collection is disappear

* Add a homescreen IndexedDB check flag in localStorage to prevent grid initialization failure due to unexpected power off.
nit: isHomescreenDBAvailable