Adds some util functions in FileUtils.
Log error when loading lua file failed.
Adds some useful methods in FileUtils.
Merge branch 'lua-vm' of https://github.com/dumganhar/cocos2d-x into lua-vm
Merge branch 'lua-vm' of https://github.com/dumganhar/cocos2d-x into lua-vm

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.