Updates to CCTextField and new tests
Fixes compilation issue on iOS