Fix mist not loading
Emit ready from onConnect handler only when appLoader is null (means that app has loaded)
Merge pull request #217 from mistio/emit_ready_fix

Emit ready fix