Bug 951337 - SIM PIN dialog not showing up on bootup

- v1.3 specific fix (use dispatchEvent instead because lack of System.js)
- add test
- delay init sim_lock