Small performance improvements in CakeTime::timeAgoInWords

- rearranges code to move return statements before otherwise dead code
- only do translation if translated string is actually used.