Implement Screen Orientation API through extension (Part 1)

Spec: https://dvcs.w3.org/hg/screen-orientation/raw-file/tip/Overview.html

This patch implemented lockOrientation and unlockOrientation API through extension.
And the followed patchs will implement onorientationchange event.

Test: http://jsbin.com/IJapIVE/4

BUG=https://crosswalk-project.org/jira/browse/XWALK-162
Merge pull request #1462 from yinli/screen_orientation_api

[Android] Implement Screen Orientation API through extension (Part 1)