[Tizen] Common xwalk utilities module for shared JavaScript code.

Initial method contains validation for mandatory and optional arguments.
Merge pull request #313 from poussa/xwalk-utils

[Tizen] Common xwalk utilities module for shared JavaScript code.