fixed the iap test bug
Merge branch 'master' of https://github.com/cocos2d/cocos2d-js
Merge pull request #523 from wuzhiming/master2

fixed the iapTest bugs