Improved window.device code that works better on webOS, with fallback support and fixing a deviceready issue.
Enyo-DCO-1.1-Signed-off-by: Jason Robitaille <jason.robitaille@lge.com>
Merge pull request #7 from webOS-DevRel/webos-devicefix-jasonrobitaille

Improved window.device code that works better on webOS, with fallback su...

Reviewed-By: Gray Norton <gray.norton@lge.com>