fix coding style and add more comments
reinstall active registered apps on first b2g-desktop run (fix #308)
showNotification on b2g instance to inform user of the reinstall process