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

Initial method contains validation for mandatory and optional arguments.

The JS code is from bluetooth/bluetooth_api.js