Merge pull request #555 from minggo/master

add ignore file types
fix compile error on 64 bit Linux
fix some warning
fixed #755: get x y coordinate from existing array to avoid crashing on sunsumg devices
Merge pull request #557 from minggo/iss755

fixed #755
fix buffer count wrong
fixed #743: let nativeInit() get correct screensize when running on device with software android buttons
remove unneeded packages
Merge pull request #558 from minggo/iss755

fixed #743
Merge commit 'ce8d77db9ed7197fd1a298ce5081febcf6a7f34b' from github.com/cocos2d/cocos2d-x.git
fixed #753, visual orientation is wrong on ios5 simulator
Merge pull request #559 from walzer/master

fixed #753, visual orientation is wrong on ios5 simulator
fixed bug #754, particle test crashes on ios 4.3.3 & 5.0.  Adding "fonts' into Resoures as "group" instead of "folder" cause this bug, but it can work on 4.3 and lower version.
Merge pull request #560 from walzer/master

fixed #754
update xcode4 templates generator & xcode4 template for lua.
Merge pull request #561 from walzer/master

update xcode4 templates generator & xcode4 template for lua.
reset audio when audioout is interupted
use ceil to compute viewport
if audio is playing, skip of it;
1. relative to bug #754, FontTest should use "fonts/abc.ttf" as external ttf name
2. fixed a tiny bug, FontTest can show font name on the top correctly