Merge pull request #251 from xuzhang/dev

fix bug TDIS-5812
fixed wrong declaration
[bug fix] TDIS-6405 use panel message instead of pop up message when radio is off.
Fix cross frame Date instanceof problem

When a date object is created in another frame, instanceof Date
doesn't return true. To solve this, we inject the Date function
into the device iframe.
Merge pull request #253 from zhizhangchen/fix-cross-frame-date-instanceof-problem

Fix cross frame Date instanceof problem
[utils] enhance function validateArgumentType()

* add string type check
[ApplicationControl] fix bug for data attribute of ApplicationControl

* The value of attribute of ApplicationControl only can be array
[ApplicationControlData] fix bug on attribute data of ApplicationControlData

* the value of attribute data of ApplicationControlData should only
  be array