Use width vs. height to determine orientation

Previously, onorientationchange was used to detect changes
in orientation and window.orientation used to determine
which orientation the device was in. These don't work on
Crosswalk.

Modify the isLandscape() to do a comparison of client height with
client width; and use resize events to detect orientation changes.
Use CSS media queries to switch landscape/portrait
Merge pull request #3 from 01org/fix-orientation-tracking-1

Fix orientation tracking