Changed allKeys() to return an empty array instead of NULL

Changed allKeys() to return an empty array instead of NULL if the dictionary exists but is empty.

http://www.cocos2d-x.org/forums/6/topics/36909?r=36914#message-36914