Added retina/pad/phone device detection logic when compiling with Apportable
Ensured that a shader program is set when trying to update cclabelttf texture on older version of ios (<6). Note: this is required for apportable.
Merge branch 'develop-v3' of https://github.com/apportable/cocos2d-iphone into develop-v3
Restructured cocos2d-ios project so that it plays nicely with apportable build system (projects can only have 1 target)
Project fixes for Apportable compatibility