CCPoint::getDistance() implemented, CCPoint::length() renamed to getLength(), bug fixes