issue #1489:clear version code before getting it
Merge branch 'iss1489-AssetsManager' of https://github.com/minggo/cocos2d-x into iss1489-AssetsManager
fix a bug of CCUserDefault
fixed #1489:sample works ok