[Runtime] Add validate for widget handler.

Add validate for widget handler.
Add some pattern check for tizen.

Feature=https://crosswalk-project.org/jira/browse/XWALK-1161
ID: 0200, 0210