GF-41155: onpause and onresume event error when application is going Foreground and Background.
This is a temporary workaround until the problem is fixed at a lower level.
Enyo-DCO-1.1-Signed-off-by: Jason Robitaille <jason.robitaille@lge.com>
Merge pull request #42 from webOS-DevRel/GF-41155-jasonrobitaille

GF-41155: onpause and onresume event error when application is going For...

Reviewed-By: Ben Combee (ben.combee@lge.com)