performance improvements in CakeTime::timeAgoInWords Edit

- rearranges code to move return statements before otherwise dead code
- only do translation if translated string is actually used
Merge pull request #1609 from Schlaefer/patch-1

performance improvements in CakeTime::timeAgoInWords