Bug 951337 - SIM PIN dialog not showing up on bootup

- v1.3 specific fix (use dispatchEvent)
- add test
- delay init sim_lock