Bug 951337 - SIM PIN dialog not showing up on bootup

- v1.3 specific fix (use dispatchEvent)
- add test
- delay init sim_lock
Merge pull request #15545 from EragonJ/v1.3-bug-951337

Bug 951337 - SIM PIN dialog not showing up on bootup