fixed #1811: Adding a method to get file data for JSB. Updating the way of encoding cpp string to jsval or jsval to cpp string.
Merge pull request #2119 from dumganhar/iss1811-getfiledata-jsb

fixed #1811: Adding a method to get file data for JSB. Reverting the implementation of JSStringWrapper.